2020-04-24 23:36:52 +00:00
|
|
|
{system ? builtins.currentSystem}:
|
|
|
|
|
|
|
|
let
|
2022-06-16 17:23:12 +00:00
|
|
|
inherit (releaseLib) lib;
|
|
|
|
releaseLib = import ../../top-level/release-lib.nix {
|
|
|
|
# We're not using any functions from release-lib.nix that look at
|
|
|
|
# supportedSystems.
|
|
|
|
supportedSystems = [];
|
|
|
|
};
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
make = crossSystem: import ./make-bootstrap-tools.nix {
|
2022-06-16 17:23:12 +00:00
|
|
|
pkgs = releaseLib.pkgsForCross crossSystem system;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
in lib.mapAttrs (n: make) (with lib.systems.examples; {
|
|
|
|
armv5tel = sheevaplug;
|
|
|
|
pogoplug4 = pogoplug4;
|
|
|
|
armv6l = raspberryPi;
|
|
|
|
armv7l = armv7l-hf-multiplatform;
|
|
|
|
aarch64 = aarch64-multiplatform;
|
|
|
|
x86_64-musl = musl64;
|
|
|
|
armv6l-musl = muslpi;
|
|
|
|
aarch64-musl = aarch64-multiplatform-musl;
|
|
|
|
riscv64 = riscv64;
|
2022-03-30 09:31:56 +00:00
|
|
|
mips64el-linux-gnuabin32 = mips64el-linux-gnuabin32;
|
|
|
|
mips64el-linux-gnuabi64 = mips64el-linux-gnuabi64;
|
2022-08-12 12:06:08 +00:00
|
|
|
mipsel-linux-gnu = mipsel-linux-gnu;
|
2021-02-05 17:12:51 +00:00
|
|
|
powerpc64 = ppc64;
|
|
|
|
powerpc64-musl = ppc64-musl;
|
2020-04-24 23:36:52 +00:00
|
|
|
powerpc64le = powernv;
|
|
|
|
powerpc64le-musl = musl-power;
|
|
|
|
})
|