3
0
Fork 0
forked from mirrors/nixpkgs

fzf: install manpage

Closes #21706
This commit is contained in:
Anmol Sethi 2017-01-06 04:27:35 -05:00
parent ad507954fa
commit d65be2eb12

View file

@ -14,6 +14,8 @@ buildGoPackage rec {
sha256 = "0r099mk9r6f52qqhx0ifb1xa8f2isqvyza80z9mcpi5zkd96174l"; sha256 = "0r099mk9r6f52qqhx0ifb1xa8f2isqvyza80z9mcpi5zkd96174l";
}; };
outputs = [ "bin" "out" "man" ];
buildInputs = [ ncurses ]; buildInputs = [ ncurses ];
goDeps = ./deps.nix; goDeps = ./deps.nix;
@ -25,6 +27,8 @@ buildGoPackage rec {
postInstall = '' postInstall = ''
cp $src/bin/fzf-tmux $bin/bin 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 mkdir -p $out/share/vim-plugins
ln -s $out/share/go/src/github.com/junegunn/fzf $out/share/vim-plugins/${name} ln -s $out/share/go/src/github.com/junegunn/fzf $out/share/vim-plugins/${name}
''; '';