diff --git a/nix/mkNeovim.nix b/nix/mkNeovim.nix index efd41c9..eaa474a 100644 --- a/nix/mkNeovim.nix +++ b/nix/mkNeovim.nix @@ -207,8 +207,8 @@ with lib; + lib.optionalString isCustomAppName '' mv $out/bin/nvim $out/bin/${lib.escapeShellArg appName} ''; - meta.mainProgram - = if isCustomAppName - then appName - else oa.meta.mainProgram; + meta.mainProgram = + if isCustomAppName + then appName + else oa.meta.mainProgram; }) diff --git a/nix/neovim-overlay.nix b/nix/neovim-overlay.nix index 4c300d3..6e85c39 100644 --- a/nix/neovim-overlay.nix +++ b/nix/neovim-overlay.nix @@ -15,7 +15,7 @@ with final.pkgs.lib; let pkgs-wrapNeovim = inputs.nixpkgs.legacyPackages.${pkgs.system}; # This is the helper function that builds the Neovim derivation. - mkNeovim = pkgs.callPackage ./mkNeovim.nix { inherit pkgs-wrapNeovim; }; + mkNeovim = pkgs.callPackage ./mkNeovim.nix {inherit pkgs-wrapNeovim;}; # A plugin can either be a package or an attrset, such as # { plugin = ; # the package, e.g. pkgs.vimPlugins.nvim-cmp