mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
unipicker: cleanup
This commit is contained in:
parent
f21e16592e
commit
bf18158da7
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue