fzf: cleanup

This commit is contained in:
Alexis Hildebrandt 2024-07-19 11:47:28 +02:00
parent 3a85fa641d
commit 3c72a5ae8e

View File

@ -45,7 +45,7 @@ buildGoModule rec {
# fzf-tmux depends on bc
substituteInPlace bin/fzf-tmux \
--replace "bc" "${bc}/bin/bc"
--replace-fail "bc" "${lib.getExe bc}"
'';
postInstall = ''
@ -53,9 +53,9 @@ buildGoModule rec {
installManPage man/man1/fzf.1 man/man1/fzf-tmux.1
install -D plugin/* -t $out/share/vim-plugins/${pname}/plugin
install -D plugin/* -t $out/share/vim-plugins/fzf/plugin
mkdir -p $out/share/nvim
ln -s $out/share/vim-plugins/${pname} $out/share/nvim/site
ln -s $out/share/vim-plugins/fzf $out/share/nvim/site
# Install shell integrations
install -D shell/* -t $out/share/fzf/