newt: cleanup with a mass rebuild
This commit is contained in:
parent
2067b2a524
commit
c77ba8b8f6
1 changed files with 3 additions and 4 deletions
|
@ -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 a new issue