Merge pull request #328388 from afh/update-fzf

fzf: 0.54.0 -> 0.54.1
This commit is contained in:
Maximilian Bosch
2024-07-19 11:20:36 +00:00
committed by GitHub
+6 -6
View File
@@ -11,16 +11,16 @@
buildGoModule rec {
pname = "fzf";
version = "0.54.0";
version = "0.54.1";
src = fetchFromGitHub {
owner = "junegunn";
repo = "fzf";
rev = "v${version}";
hash = "sha256-y2A3WsPD58zbJx/vLKiuXJ1rVdlhQ9Ylm8sh+RYJ9qA=";
hash = "sha256-nE4ibYAOH3fgZbpf/tPocXFH6GfialYk/gvLltO8x/w=";
};
vendorHash = "sha256-GC92YuGHQuoLHb7etxpI20ZyvKlJNbeDnHyUOkM4lrg=";
vendorHash = "sha256-uhjJPB/jfRPAu9g41vWFnSBIN9TIZW3s6BGz0fA2ygE=";
CGO_ENABLED = 0;
@@ -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/