nix: add package to flake
This commit is contained in:
parent
6d2c485ff0
commit
75ecb87227
1 changed files with 11 additions and 0 deletions
11
flake.nix
11
flake.nix
|
@ -16,6 +16,13 @@
|
||||||
nil = input.nil.packages.${system}.nil;
|
nil = input.nil.packages.${system}.nil;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
apps.default = {
|
||||||
|
type = "app";
|
||||||
|
program = "${neovim}/bin/nvim";
|
||||||
|
};
|
||||||
|
|
||||||
|
packages.default = neovim;
|
||||||
|
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
packages = [
|
packages = [
|
||||||
neovim
|
neovim
|
||||||
|
@ -23,5 +30,9 @@
|
||||||
pkgs.stylua # lua formatter
|
pkgs.stylua # lua formatter
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
overlays = f: p: {
|
||||||
|
myneovim = neovim;
|
||||||
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue