1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

fzf: fix unstable vim plugin path

exclude version number from vim plugin path
This commit is contained in:
midchildan 2019-11-28 22:54:24 +09:00
parent d38c4638ee
commit bc213d09e2
No known key found for this signature in database
GPG key ID: D9A5748BACC6E3C2

View file

@ -36,15 +36,13 @@ buildGoModule rec {
''; '';
postInstall = '' postInstall = ''
name="${pname}-${version}"
cp $src/bin/fzf-tmux $out/bin cp $src/bin/fzf-tmux $out/bin
mkdir -p $man/share/man mkdir -p $man/share/man
cp -r $src/man/man1 $man/share/man cp -r $src/man/man1 $man/share/man
mkdir -p $out/share/vim-plugins/$name mkdir -p $out/share/vim-plugins/${pname}
cp -r $src/plugin $out/share/vim-plugins/$name cp -r $src/plugin $out/share/vim-plugins/${pname}
cp -R $src/shell $out/share/fzf cp -R $src/shell $out/share/fzf
cat <<SCRIPT > $out/bin/fzf-share cat <<SCRIPT > $out/bin/fzf-share