diff options
author | Matías Lang <matiasl@infobytesec.com> | 2018-07-27 12:27:42 -0300 |
---|---|---|
committer | Matías Lang <matiasl@infobytesec.com> | 2018-07-27 12:27:42 -0300 |
commit | fcb4e32e9a939db0fca1796c8abd4e14e0acde04 (patch) | |
tree | 2c9d316931019a07747046a9f6f9a61348462ebc /pkgs/tools/misc | |
parent | 1d83c4583b73737d81b9ec3577f27ab8ad4a19dd (diff) | |
download | nixlib-fcb4e32e9a939db0fca1796c8abd4e14e0acde04.tar nixlib-fcb4e32e9a939db0fca1796c8abd4e14e0acde04.tar.gz nixlib-fcb4e32e9a939db0fca1796c8abd4e14e0acde04.tar.bz2 nixlib-fcb4e32e9a939db0fca1796c8abd4e14e0acde04.tar.lz nixlib-fcb4e32e9a939db0fca1796c8abd4e14e0acde04.tar.xz nixlib-fcb4e32e9a939db0fca1796c8abd4e14e0acde04.tar.zst nixlib-fcb4e32e9a939db0fca1796c8abd4e14e0acde04.zip |
fzf: fix invalid symlink on vim-plugins
The fzf vim plugin wasn't working because it was making a symlink to a directory with the full source code. This directory isn't present anymore since the commit e95f17e2720e67e2eabd59d7754c814d3e27a0b2 wich removes it because it isn't so useful for the go packages. I fixed it by manually copying the plugin/ directory into the out derivation, which is the only part of the source that contains the vim plugin.
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/fzf/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/misc/fzf/default.nix b/pkgs/tools/misc/fzf/default.nix index e8e2152f7110..b85d2bffc341 100644 --- a/pkgs/tools/misc/fzf/default.nix +++ b/pkgs/tools/misc/fzf/default.nix @@ -42,8 +42,8 @@ buildGoPackage rec { cp $src/bin/fzf-tmux $bin/bin mkdir -p $man/share/man cp -r $src/man/man1 $man/share/man - mkdir -p $out/share/vim-plugins - ln -s $out/share/go/src/github.com/junegunn/fzf $out/share/vim-plugins/${name} + mkdir -p $out/share/vim-plugins/${name} + cp -r $src/plugin $out/share/vim-plugins/${name} cp -R $src/shell $bin/share/fzf cat <<SCRIPT > $bin/bin/fzf-share |