use standard behaviour to run apps from packages
This commit is contained in:
parent
53b281848b
commit
d3e0b8c0d9
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
Reference in a new issue