1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

unipicker: cleanup

This commit is contained in:
Sandro Jäckel 2021-08-15 11:43:48 +02:00
parent f21e16592e
commit bf18158da7
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -17,10 +17,12 @@ 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"
substituteInPlace unipicker \
--replace "/etc/unipickerrc" "$out/etc/unipickerrc" \
--replace "fzf" "${fzf}/bin/fzf"
substituteInPlace unipickerrc \
--replace "/usr/local" "$out" \
--replace "fzf" "${fzf}/bin/fzf"
'';
makeFlags = [
@ -33,6 +35,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/jeremija/unipicker";
license = licenses.mit;
maintainers = with maintainers; [ kiyengar ];
platforms = with platforms; unix;
platforms = platforms.unix;
};
}