Skip to content

Commit

Permalink
Merge pull request #138406 from hqurve/master
Browse files Browse the repository at this point in the history
vimPlugins: use lib.getName instead of plugin.pname
  • Loading branch information
figsoda authored Sep 18, 2021
2 parents af38e5f + 2b9f9ef commit 772c3e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/misc/vim-plugins/vim-utils.nix
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ let
'';

linkVimlPlugin = plugin: packageName: dir: ''
mkdir -p $out/pack/${packageName}/${dir}/${plugin.pname}
ln -sf ${plugin}/${rtpPath}/* $out/pack/${packageName}/${dir}/${plugin.pname}
mkdir -p $out/pack/${packageName}/${dir}/${lib.getName plugin}
ln -sf ${plugin}/${rtpPath}/* $out/pack/${packageName}/${dir}/${lib.getName plugin}
'';

link = pluginPath: if hasLuaModule pluginPath
Expand Down

0 comments on commit 772c3e6

Please sign in to comment.