fzf: patch fzf-tmux' bc dependency

Fixes #225579
This commit is contained in:
Harsh Shandilya
2023-06-25 23:40:33 +05:30
parent b822651081
commit 89f671716a
+4
View File
@@ -5,6 +5,7 @@
, writeShellScriptBin
, runtimeShell
, installShellFiles
, bc
, ncurses
, perl
, glibcLocales
@@ -60,6 +61,9 @@ buildGoModule rec {
# Include first args to make sure we're patching the right thing
substituteInPlace shell/key-bindings.bash \
--replace " perl -n " " ${ourPerl}/bin/perl -n "
# fzf-tmux depends on bc
substituteInPlace bin/fzf-tmux \
--replace "bc" "${bc}/bin/bc"
'';
postInstall = ''