diff --git a/pkgs/top-level/release-cross.nix b/pkgs/top-level/release-cross.nix index 93e36360bf9c..ccca912db791 100644 --- a/pkgs/top-level/release-cross.nix +++ b/pkgs/top-level/release-cross.nix @@ -84,6 +84,17 @@ let buildPackages.binutils = nativePlatforms; mpg123 = nativePlatforms; }; + + # Enabled-but-unsupported platforms for which nix is known to build. + # We provide Hydra-built `nixStatic` for these platforms. This + # allows users to bootstrap their own system without either (a) + # trusting binaries from a non-Hydra source or (b) having to fight + # with their host distribution's versions of nix's numerous + # build dependencies. + nixCrossStatic = { + nixStatic = nativePlatforms; + }; + in { @@ -226,4 +237,8 @@ in # attribute, so there is no way to detect this -- we must add it # as a special case. (builtins.removeAttrs tools ["bootstrapTools"]); + + # Cross-built nixStatic for platforms for enabled-but-unsupported platforms + mips64el-nixCrossStatic = mapTestOnCross lib.systems.examples.mips64el-linux-gnuabi64 nixCrossStatic; + powerpc64le-nixCrossStatic = mapTestOnCross lib.systems.examples.powernv nixCrossStatic; }