mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 11:53:51 +00:00
vimUtils.packDir: fix build in absence of pname
This commit is contained in:
parent
c1c406bc87
commit
b02e24b451
@ -167,7 +167,7 @@ let
|
||||
rtpPath = ".";
|
||||
|
||||
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);
|
||||
|
||||
/* Generates a packpath folder as expected by vim
|
||||
|
Loading…
Reference in New Issue
Block a user