pkgs/top-level/release-cross.nix: add Hydra jobs for pkgsCross.platform.nixStatic

This commit causes Hydra to build `nixStatic` on non-NixOS platforms
for which nixStatic is known to build correctly.

Providing Hydra builds of `nixStatic` on these platforms allows users
to bootstrap their local nixpkgs system without either having to:

a. Trust binaries that came from a source other than Hydra or

b. Fight with their host distribution to satisfy all of nix's large
set of build dependencies (this is not easy!)

Currently there are two platforms in this set: mips64el-linux-gnuabi64
and powerpc64le-linux-gnu.

authored by

Adam Joseph and committed by
Rick van Schijndel
b92e8e59 3c4aef17

+15
+15
pkgs/top-level/release-cross.nix
··· 84 84 buildPackages.binutils = nativePlatforms; 85 85 mpg123 = nativePlatforms; 86 86 }; 87 + 88 + # Enabled-but-unsupported platforms for which nix is known to build. 89 + # We provide Hydra-built `nixStatic` for these platforms. This 90 + # allows users to bootstrap their own system without either (a) 91 + # trusting binaries from a non-Hydra source or (b) having to fight 92 + # with their host distribution's versions of nix's numerous 93 + # build dependencies. 94 + nixCrossStatic = { 95 + nixStatic = nativePlatforms; 96 + }; 97 + 87 98 in 88 99 89 100 { ··· 226 237 # attribute, so there is no way to detect this -- we must add it 227 238 # as a special case. 228 239 (builtins.removeAttrs tools ["bootstrapTools"]); 240 + 241 + # Cross-built nixStatic for platforms for enabled-but-unsupported platforms 242 + mips64el-nixCrossStatic = mapTestOnCross lib.systems.examples.mips64el-linux-gnuabi64 nixCrossStatic; 243 + powerpc64le-nixCrossStatic = mapTestOnCross lib.systems.examples.powernv nixCrossStatic; 229 244 }