diff --git a/pkgs/tools/misc/fzf/default.nix b/pkgs/tools/misc/fzf/default.nix index 8e783fc15509..df10755f14c9 100644 --- a/pkgs/tools/misc/fzf/default.nix +++ b/pkgs/tools/misc/fzf/default.nix @@ -60,6 +60,7 @@ buildGoModule rec { # Has a sneaky dependency on perl # Include first args to make sure we're patching the right thing substituteInPlace shell/key-bindings.bash \ + --replace "command -v perl" "command -v ${ourPerl}/bin/perl" \ --replace " perl -n " " ${ourPerl}/bin/perl -n " # fzf-tmux depends on bc substituteInPlace bin/fzf-tmux \