use standard behaviour to run apps from packages

This commit is contained in:
Dmitriy Pleshevskiy 2024-04-17 12:25:30 +03:00
parent 53b281848b
commit d3e0b8c0d9
Signed by: pleshevskiy
GPG Key ID: 17041163DA10A9A2
1 changed files with 0 additions and 7 deletions

View File

@ -310,17 +310,10 @@
full = fullNeovim;
minimal = minimalNeovim;
};
mkApp = drv: {
type = "app";
program = "${drv}/bin/nvim";
};
in
{
inherit packages;
apps = mapAttrs (name: mkApp) packages;
devShells.default = pkgs.mkShell {
packages = [
pkgs.stylua # lua formatter