lib, treewide: Add missing MIPS arches, and fix existing usage
Existing "mips64el" should be "mipsel". This is just the barest minimum so that nixpkgs can recognize them as systems - although required for building individual derivations onto MIPS boards, it is not sufficient if you want to actually build nixos on those targets
This commit is contained in:
committed by
John Ericson
parent
2682ba63bc
commit
9c50ae6898
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# We get a warning in armv5tel-linux and the fuloong2f, so we
|
||||
# disable -Werror in it.
|
||||
${stdenv.lib.optionalString (stdenv.isArm || stdenv.system == "mips64el-linux") ''
|
||||
${stdenv.lib.optionalString (stdenv.isArm || stdenv.hostPlatform.isMips) ''
|
||||
sed -i s/-Werror// src/Makefile.am
|
||||
''}
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user