neovim: propagate pname and version through wrapper

This commit is contained in:
Elliot Cameron 2024-04-17 10:09:19 -04:00 committed by Matthieu Coudron
parent 45bc5d5b88
commit be137fd0d0
1 changed files with 5 additions and 1 deletions

View File

@ -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;