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

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