From 2b9f9efeecf43555bf86c8fbf1ef6e4bc8b30b82 Mon Sep 17 00:00:00 2001 From: hqurve Date: Sat, 18 Sep 2021 06:56:23 -0400 Subject: [PATCH] vimPlugins: use lib.getName instead of plugin.pname --- pkgs/misc/vim-plugins/vim-utils.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/vim-plugins/vim-utils.nix b/pkgs/misc/vim-plugins/vim-utils.nix index 3bf5dcd9a816..10295ab6b2b0 100644 --- a/pkgs/misc/vim-plugins/vim-utils.nix +++ b/pkgs/misc/vim-plugins/vim-utils.nix @@ -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