diff options
author | Daniel Barlow <dan@telent.net> | 2017-12-05 10:27:45 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-02-23 20:43:42 -0500 |
commit | 9c50ae6898b2d5dccd6e030c80535fb1a32f703d (patch) | |
tree | f957c334d3b0885adcca2cefa6f90ab805443e30 /pkgs/os-specific/linux/kbd | |
parent | 2682ba63bc0c4dea159ec664d63d375a8d75b12a (diff) | |
download | nixpkgs-9c50ae6898b2d5dccd6e030c80535fb1a32f703d.tar nixpkgs-9c50ae6898b2d5dccd6e030c80535fb1a32f703d.tar.gz nixpkgs-9c50ae6898b2d5dccd6e030c80535fb1a32f703d.tar.bz2 nixpkgs-9c50ae6898b2d5dccd6e030c80535fb1a32f703d.tar.lz nixpkgs-9c50ae6898b2d5dccd6e030c80535fb1a32f703d.tar.xz nixpkgs-9c50ae6898b2d5dccd6e030c80535fb1a32f703d.tar.zst nixpkgs-9c50ae6898b2d5dccd6e030c80535fb1a32f703d.zip |
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
Diffstat (limited to 'pkgs/os-specific/linux/kbd')
-rw-r--r-- | pkgs/os-specific/linux/kbd/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kbd/default.nix b/pkgs/os-specific/linux/kbd/default.nix index b97f48af414..d1e40371e37 100644 --- a/pkgs/os-specific/linux/kbd/default.nix +++ b/pkgs/os-specific/linux/kbd/default.nix @@ -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 ''} ''; |