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
This commit is contained in:
Geoff Reedy 2021-08-13 09:58:38 -06:00 committed by GitHub
parent 6fc5211edd
commit 28d8308781
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,8 @@ stdenv.mkDerivation rec {
preInstall = '' preInstall = ''
substituteInPlace unipicker --replace "/etc/unipickerrc" "$out/etc/unipickerrc" substituteInPlace unipicker --replace "/etc/unipickerrc" "$out/etc/unipickerrc"
substituteInPlace unipickerrc --replace "/usr/local" "$out" substituteInPlace unipickerrc --replace "/usr/local" "$out"
substituteInPlace unipicker --replace "fzf" "${fzf}/bin/fzf"
substituteInPlace unipickerrc --replace "fzf" "${fzf}/bin/fzf"
''; '';
makeFlags = [ makeFlags = [