nix: add package to flake

This commit is contained in:
Dmitriy Pleshevskiy 2022-09-17 17:52:12 +03:00
parent 6d2c485ff0
commit 75ecb87227
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -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;
};
}); });
} }