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:
Daniel Barlow
2018-02-23 20:43:42 -05:00
committed by John Ericson
parent 2682ba63bc
commit 9c50ae6898
14 changed files with 30 additions and 19 deletions
+1 -1
View File
@@ -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
''}
'';