mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
newt: cleanup with a mass rebuild
This commit is contained in:
parent
2067b2a524
commit
c77ba8b8f6
@ -22,10 +22,9 @@ stdenv.mkDerivation rec {
|
||||
unset CPP
|
||||
'';
|
||||
|
||||
# Use `lib.optionalString` next mass rebuild.
|
||||
makeFlags = if stdenv.buildPlatform == stdenv.hostPlatform
|
||||
then null
|
||||
else "CROSS_COMPILE=${stdenv.cc.targetPrefix}";
|
||||
makeFlags = stdenv.lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://fedorahosted.org/newt/;
|
||||
|
Loading…
Reference in New Issue
Block a user