diff --git a/pkgs/applications/editors/neovim/wrapper.nix b/pkgs/applications/editors/neovim/wrapper.nix index 3ff760b21885..391bf102f749 100644 --- a/pkgs/applications/editors/neovim/wrapper.nix +++ b/pkgs/applications/editors/neovim/wrapper.nix @@ -83,8 +83,12 @@ let ; perlEnv = perl.withPackages (p: [ p.NeovimExt p.Appcpanminus ]); + + pname = "neovim"; + version = lib.getVersion neovim-unwrapped; in { - name = "neovim-${lib.getVersion neovim-unwrapped}${extraName}"; + name = "${pname}-${version}${extraName}"; + inherit pname version; __structuredAttrs = true; dontUnpack = true;