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:
parent
d38c4638ee
commit
bc213d09e2
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue