From 89f671716a4a23e121ab68e7d691fef283ef5e00 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 12 Jun 2023 20:03:43 +0530 Subject: [PATCH] fzf: patch fzf-tmux' bc dependency Fixes #225579 --- pkgs/tools/misc/fzf/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/misc/fzf/default.nix b/pkgs/tools/misc/fzf/default.nix index 17959b3d1a1..9aad1529d16 100644 --- a/pkgs/tools/misc/fzf/default.nix +++ b/pkgs/tools/misc/fzf/default.nix @@ -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 = ''