From e8b10284f32b32469d5f54433e5c5a75448b327b Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Sat, 1 Apr 2023 23:16:46 -0700 Subject: [PATCH] linux/default.nix: use mipsel.nix instead of longson.nix for mips32 Right now our bootstrapFiles-selecting algorithm uses the `loongson2f.nix` bootstrapFiles (which were not built by Hydra). These bootstrapFiles don't work anymore. They were added in 2010 by 40405d03ac383c8c6e45dec59eaad307d03e4c42. This commit causes mipsel-linux native builds to use the Hydra-built bootstrap files from this PR instead: https://github.com/NixOS/nixpkgs/pull/183487 --- pkgs/stdenv/linux/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index 51f217f03b27..3f2d77729abc 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -68,7 +68,7 @@ armv6l-linux = import ./bootstrap-files/armv6l.nix; armv7l-linux = import ./bootstrap-files/armv7l.nix; aarch64-linux = import ./bootstrap-files/aarch64.nix; - mipsel-linux = import ./bootstrap-files/loongson2f.nix; + mipsel-linux = import ./bootstrap-files/mipsel.nix; mips64el-linux = import (if localSystem.isMips64n32 then ./bootstrap-files/mips64el-n32.nix