about summary refs log tree commit diff
path: root/nixpkgs/lib/systems/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/lib/systems/default.nix')
-rw-r--r--nixpkgs/lib/systems/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixpkgs/lib/systems/default.nix b/nixpkgs/lib/systems/default.nix
index 529eeb6514b9..7ddd5b8a5812 100644
--- a/nixpkgs/lib/systems/default.nix
+++ b/nixpkgs/lib/systems/default.nix
@@ -105,7 +105,8 @@ rec {
         else if final.isAarch64 then "arm64"
         else if final.isx86_32 then "i386"
         else if final.isx86_64 then "x86_64"
-        else if final.isMips then "mips"
+        else if final.isMips32 then "mips"
+        else if final.isMips64 then "mips"    # linux kernel does not distinguish mips32/mips64
         else if final.isPower then "powerpc"
         else if final.isRiscV then "riscv"
         else if final.isS390 then "s390"