Merge pull request #74496 from midchildan/fix-fzf-vim-plugin-path

fzf: fix unstable vim plugin path
This commit is contained in:
Maximilian Bosch 2020-01-04 16:34:33 +01:00 committed by GitHub
commit 502ef3cd4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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