newt: Remove crossAttrs

This commit is contained in:
John Ericson 2018-07-23 15:40:19 -04:00
parent 5be14c5c74
commit aa9dba9c39
1 changed files with 4 additions and 3 deletions

View File

@ -22,9 +22,10 @@ stdenv.mkDerivation rec {
unset CPP unset CPP
''; '';
crossAttrs = { # Use `lib.optionalString` next mass rebuild.
makeFlags = "CROSS_COMPILE=${stdenv.cc.targetPrefix}"; makeFlags = if stdenv.buildPlatform == stdenv.hostPlatform
}; 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/;