vimUtils.packDir: fix build in absence of pname
This commit is contained in:
parent
c1c406bc87
commit
b02e24b451
|
@ -167,7 +167,7 @@ let
|
||||||
rtpPath = ".";
|
rtpPath = ".";
|
||||||
|
|
||||||
vimFarm = prefix: name: drvs:
|
vimFarm = prefix: name: drvs:
|
||||||
let mkEntryFromDrv = drv: { name = "${prefix}/${drv.pname}"; path = drv; };
|
let mkEntryFromDrv = drv: { name = "${prefix}/${lib.getName drv}"; path = drv; };
|
||||||
in linkFarm name (map mkEntryFromDrv drvs);
|
in linkFarm name (map mkEntryFromDrv drvs);
|
||||||
|
|
||||||
/* Generates a packpath folder as expected by vim
|
/* Generates a packpath folder as expected by vim
|
||||||
|
|
Loading…
Reference in a new issue