Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 system ? builtins.currentSystem,
3}:
4
5let
6 inherit (releaseLib) lib;
7 releaseLib = import ../../top-level/release-lib.nix {
8 # We're not using any functions from release-lib.nix that look at
9 # supportedSystems.
10 supportedSystems = [ ];
11 };
12
13 make =
14 crossSystem:
15 import ./make-bootstrap-tools.nix {
16 pkgs = releaseLib.pkgsForCross crossSystem system;
17 };
18in
19lib.mapAttrs (n: make) (
20 with lib.systems.examples;
21 {
22 # NOTE: Only add platforms for which there are files in `./bootstrap-files`
23 # or for which you plan to request the tarball upload soon. See the
24 # maintainers/scripts/bootstrap-files/README.md
25 # on how to request an upload.
26 # Sort following the sorting in `./default.nix` `bootstrapFiles` argument.
27
28 armv5tel-unknown-linux-gnueabi = sheevaplug;
29 armv6l-unknown-linux-gnueabihf = raspberryPi;
30 armv7l-unknown-linux-gnueabihf = armv7l-hf-multiplatform;
31 aarch64-unknown-linux-gnu = aarch64-multiplatform;
32 mipsel-unknown-linux-gnu = mipsel-linux-gnu;
33 mips64el-unknown-linux-gnuabin32 = mips64el-linux-gnuabin32;
34 mips64el-unknown-linux-gnuabi64 = mips64el-linux-gnuabi64;
35 powerpc64-unknown-linux-gnuabielfv1 = ppc64-elfv1;
36 powerpc64-unknown-linux-gnuabielfv2 = ppc64-elfv2;
37 powerpc64le-unknown-linux-gnu = powernv;
38 riscv64-unknown-linux-gnu = riscv64;
39 s390x-unknown-linux-gnu = s390x;
40 loongarch64-unknown-linux-gnu = loongarch64-linux;
41
42 # musl
43 aarch64-unknown-linux-musl = aarch64-multiplatform-musl;
44 armv6l-unknown-linux-musleabihf = muslpi;
45 riscv64-unknown-linux-musl = riscv64-musl;
46 x86_64-unknown-linux-musl = musl64;
47 }
48)