1 {system ? builtins.currentSystem}:
4 inherit (releaseLib) lib;
5 releaseLib = import ../../top-level/release-lib.nix {
6 # We're not using any functions from release-lib.nix that look at
11 make = crossSystem: import ./make-bootstrap-tools.nix {
12 pkgs = releaseLib.pkgsForCross crossSystem system;
14 in lib.mapAttrs (n: make) (with lib.systems.examples; {
15 # NOTE: Only add platforms for which there are files in `./bootstrap-files`
16 # or for which you plan to request the tarball upload soon. See the
17 # maintainers/scripts/bootstrap-files/README.md
18 # on how to request an upload.
19 # Sort following the sorting in `./default.nix` `bootstrapFiles` argument.
21 armv5tel-unknown-linux-gnueabi = sheevaplug;
22 armv6l-unknown-linux-gnueabihf = raspberryPi;
23 armv7l-unknown-linux-gnueabihf = armv7l-hf-multiplatform;
24 aarch64-unknown-linux-gnu = aarch64-multiplatform;
25 mipsel-unknown-linux-gnu = mipsel-linux-gnu;
26 mips64el-unknown-linux-gnuabin32 = mips64el-linux-gnuabin32;
27 mips64el-unknown-linux-gnuabi64 = mips64el-linux-gnuabi64;
28 powerpc64-unknown-linux-gnuabielfv2 = ppc64;
29 powerpc64le-unknown-linux-gnu = powernv;
30 riscv64-unknown-linux-gnu = riscv64;
31 s390x-unknown-linux-gnu = s390x;
34 aarch64-unknown-linux-musl = aarch64-multiplatform-musl;
35 armv6l-unknown-linux-musleabihf = muslpi;
36 x86_64-unknown-linux-musl = musl64;