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;
|
full = fullNeovim;
|
||||||
minimal = minimalNeovim;
|
minimal = minimalNeovim;
|
||||||
};
|
};
|
||||||
|
|
||||||
mkApp = drv: {
|
|
||||||
type = "app";
|
|
||||||
program = "${drv}/bin/nvim";
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
inherit packages;
|
inherit packages;
|
||||||
|
|
||||||
apps = mapAttrs (name: mkApp) packages;
|
|
||||||
|
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
packages = [
|
packages = [
|
||||||
pkgs.stylua # lua formatter
|
pkgs.stylua # lua formatter
|
||||||
|
|
Reference in a new issue