diff options
-rw-r--r-- | flake.nix | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -19,16 +19,12 @@ ]; }; in rec { - apps.${system} = rec { - nvim = { - type = "app"; - program = "${packages.${system}.default}/bin/nvim"; - }; - default = nvim; + # From nix >= 2.7 the default app syntax changes + defaultApp.${system} = { + type = "app"; + program = "${packages.${system}.neovimCH}/bin/nvim"; }; - packages.${system} = rec { - default = neovimCH; - neovimCH = with pkgs; symlinkJoin { + packages.${system}.neovimCH = with pkgs; symlinkJoin { name = "neovim"; paths = [ pkgs.neovim ]; buildInputs = [ pkgs.makeWrapper ]; |