vimPlugins.fzfWrapper: place the fzf binary in the plugin's bin dir

This commit is contained in:
Wael Nasreddine
2021-03-12 00:05:24 +01:00
committed by Matthieu Coudron
parent 7b69e62cb0
commit 34cf38fca4
+4 -2
View File
@@ -91,9 +91,11 @@ self: super: {
# plugin, since part of the fzf vim plugin is included in the main fzf # plugin, since part of the fzf vim plugin is included in the main fzf
# program. # program.
fzfWrapper = buildVimPluginFrom2Nix { fzfWrapper = buildVimPluginFrom2Nix {
inherit (fzf) src version;
pname = "fzf"; pname = "fzf";
version = fzf.version; postInstall = ''
src = fzf.src; ln -s ${fzf}/bin/fzf $target/bin/fzf
'';
}; };
skim = buildVimPluginFrom2Nix { skim = buildVimPluginFrom2Nix {