Merge pull request #237365 from msfjarvis/hs/fix-fzf-tmux

This commit is contained in:
Sandro 2023-07-11 15:17:12 +02:00 committed by GitHub
commit b9cdb7a6ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,7 @@
, writeShellScriptBin , writeShellScriptBin
, runtimeShell , runtimeShell
, installShellFiles , installShellFiles
, bc
, ncurses , ncurses
, perl , perl
, glibcLocales , glibcLocales
@ -60,6 +61,9 @@ buildGoModule rec {
# Include first args to make sure we're patching the right thing # Include first args to make sure we're patching the right thing
substituteInPlace shell/key-bindings.bash \ substituteInPlace shell/key-bindings.bash \
--replace " perl -n " " ${ourPerl}/bin/perl -n " --replace " perl -n " " ${ourPerl}/bin/perl -n "
# fzf-tmux depends on bc
substituteInPlace bin/fzf-tmux \
--replace "bc" "${bc}/bin/bc"
''; '';
postInstall = '' postInstall = ''