1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00

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