23 lines
542 B
Nix
23 lines
542 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
utils.url = "github:numtide/flake-utils";
|
|
|
|
# nix lsp
|
|
nil.url = "github:oxalica/nil";
|
|
};
|
|
|
|
outputs = input @ { self, nixpkgs, utils, ... }:
|
|
utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
neovim = pkgs.callPackage ./. { };
|
|
nil = input.nil.packages.${system}.nil;
|
|
in
|
|
{
|
|
devShells.default = pkgs.mkShell {
|
|
packages = [ neovim nil ];
|
|
};
|
|
});
|
|
}
|