Skip to content

Commit

Permalink
vimUtils.packDir: fix build in absence of pname
Browse files Browse the repository at this point in the history
  • Loading branch information
teto committed Oct 5, 2022
1 parent c1c406b commit b02e24b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/applications/editors/vim/plugins/vim-utils.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b02e24b

Please sign in to comment.