Merge pull request #134153 from SuperSandro2000/unipicker

unipicker: cleanup
This commit is contained in:
Sandro 2021-08-15 12:12:06 +02:00 committed by GitHub
commit deec8081e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
};
}