fzf: Make sure that perl path is valid
This commit is contained in:
parent
cf7a15a482
commit
7ff5fd2e91
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, writeText, runtimeShell, ncurses }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, writeText, runtimeShell, ncurses, perl }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "fzf";
|
||||
@ -27,6 +27,13 @@ buildGoModule rec {
|
||||
echo "Failed to replace vim base_dir path with $out"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Has a sneaky dependency on perl
|
||||
# Include first args to make sure we're patching the right thing
|
||||
substituteInPlace shell/key-bindings.zsh \
|
||||
--replace " perl -ne " " ${perl}/bin/perl -ne "
|
||||
substituteInPlace shell/key-bindings.bash \
|
||||
--replace " perl -n " " ${perl}/bin/perl -n "
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
|
Loading…
Reference in New Issue
Block a user