fzf: patch fzf-tmux' bc dependency

Fixes #225579
This commit is contained in:
Harsh Shandilya 2023-06-12 20:03:43 +05:30
parent b822651081
commit 89f671716a
No known key found for this signature in database

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 = ''