vimPlugins.fzfWrapper: place the fzf binary in the plugin's bin dir
commit34cf38fca446c67002bcdb72444ebfc4afee5526
authorWael Nasreddine <wael.nasreddine@gmail.com>
dateWed 10 Mar 2021, 11:11 (6 years ago)
parent7b69e62
pkgs/misc/vim-plugins/overrides.nix+4−2
@@ -91,9 +91,11 @@ self: super: {
9191 # plugin, since part of the fzf vim plugin is included in the main fzf
9292 # program.
9393 fzfWrapper = buildVimPluginFrom2Nix {
94+ inherit (fzf) src version;
9495 pname = "fzf";
95− version = fzf.version;
96− src = fzf.src;
96+ postInstall = ''
97+ ln -s ${fzf}/bin/fzf $target/bin/fzf
98+ '';
9799 };
98100
99101 skim = buildVimPluginFrom2Nix {