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 = ''
name="${pname}-${version}"
cp $src/bin/fzf-tmux $out/bin
mkdir -p $man/share/man
cp -r $src/man/man1 $man/share/man
mkdir -p $out/share/vim-plugins/$name
cp -r $src/plugin $out/share/vim-plugins/$name
mkdir -p $out/share/vim-plugins/${pname}
cp -r $src/plugin $out/share/vim-plugins/${pname}
cp -R $src/shell $out/share/fzf
cat <<SCRIPT > $out/bin/fzf-share