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