vimPlugins: FIX fzf outside goPackages
This commit is contained in:
parent
20a457faf7
commit
6909d0e456
@ -1,7 +1,7 @@
|
||||
# TODO check that no license information gets lost
|
||||
{ fetchurl, bash, stdenv, python, go, cmake, vim, vimUtils, perl, ruby, unzip
|
||||
, which, fetchgit, fetchFromGitHub, fetchhg, fetchzip, llvmPackages, zip
|
||||
, vim_configurable, vimPlugins, xkb_switch, git, racerdRust, goPackages
|
||||
, vim_configurable, vimPlugins, xkb_switch, git, racerdRust, fzf
|
||||
, Cocoa ? null
|
||||
}:
|
||||
|
||||
@ -98,9 +98,9 @@ rec {
|
||||
wombat256 = wombat256-vim; # backwards compat, added 2015-7-8
|
||||
yankring = YankRing;
|
||||
|
||||
fzf = buildVimPluginFrom2Nix {
|
||||
name = goPackages.fzf.name;
|
||||
src = "${goPackages.fzf}/share/go/src/github.com/junegunn/fzf";
|
||||
fzfWrapper = buildVimPluginFrom2Nix {
|
||||
name = fzf.name;
|
||||
src = "${fzf}/share/go/src/github.com/junegunn/fzf";
|
||||
dependencies = [];
|
||||
};
|
||||
|
||||
|
@ -28,6 +28,6 @@ buildGoPackage rec {
|
||||
postInstall= ''
|
||||
cp $src/bin/fzf-tmux $bin/bin
|
||||
mkdir -p $out/share/vim-plugins
|
||||
ln -s $out/share/go/src/github.com/junegunn/fzf $out/share/vim-plugins/${(builtins.parseDrvName fzf.name).name}
|
||||
ln -s $out/share/go/src/github.com/junegunn/fzf $out/share/vim-plugins/${name}
|
||||
'';
|
||||
}
|
||||
|
@ -801,7 +801,7 @@ in
|
||||
|
||||
fsmark = callPackage ../tools/misc/fsmark { };
|
||||
|
||||
fzf = (callPackage ../tools/misc/fzf {}).bin;
|
||||
fzf = callPackage ../tools/misc/fzf { };
|
||||
|
||||
fzy = callPackage ../tools/misc/fzy { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user