fzf: fix perl detection

Before the command detection required a perl in PATH
This commit is contained in:
Sandro Jäckel 2023-11-07 19:42:01 +01:00
parent 891e7b46b9
commit 0dcfabb9e0
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -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 \