From 28d83087819f8be898a8bd4c659763ebf4f95d04 Mon Sep 17 00:00:00 2001 From: Geoff Reedy Date: Fri, 13 Aug 2021 09:58:38 -0600 Subject: [PATCH] unipicker: use absolute path for fzf unipicker referenced fzf without an absolute path so even though it is included in buildInputs the package does not work out-of-the-box. The reference is replaced with an absolute path. Fixes #133775 --- pkgs/applications/misc/unipicker/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/misc/unipicker/default.nix b/pkgs/applications/misc/unipicker/default.nix index 7ec284f402d..71854884272 100644 --- a/pkgs/applications/misc/unipicker/default.nix +++ b/pkgs/applications/misc/unipicker/default.nix @@ -19,6 +19,8 @@ stdenv.mkDerivation rec { preInstall = '' substituteInPlace unipicker --replace "/etc/unipickerrc" "$out/etc/unipickerrc" substituteInPlace unipickerrc --replace "/usr/local" "$out" + substituteInPlace unipicker --replace "fzf" "${fzf}/bin/fzf" + substituteInPlace unipickerrc --replace "fzf" "${fzf}/bin/fzf" ''; makeFlags = [