bootstrap/bin0/default.nix
Charlotte 🦝 Delenk 6b94a1ceda
Some checks failed
Hydra bin0-bin.aarch64-linux Hydra build #1197 of bootstrap:bootstrap:bin0-bin.aarch64-linux
Hydra bin0.aarch64-linux Hydra build #1198 of bootstrap:bootstrap:bin0.aarch64-linux
Hydra bin0-bin.powerpc-linux Hydra build #1199 of bootstrap:bootstrap:bin0-bin.powerpc-linux
Hydra bin0-bin.armv7l-linux Hydra build #1202 of bootstrap:bootstrap:bin0-bin.armv7l-linux
Hydra bin0.armv7l-linux Hydra build #1200 of bootstrap:bootstrap:bin0.armv7l-linux
Hydra bin0-bin.powerpc64le-linux Hydra build #1206 of bootstrap:bootstrap:bin0-bin.powerpc64le-linux
Hydra bin0.powerpc64le-linux Hydra build #1201 of bootstrap:bootstrap:bin0.powerpc64le-linux
Hydra bin0.powerpc-linux Hydra build #1204 of bootstrap:bootstrap:bin0.powerpc-linux
Hydra bin0-bin.powerpc64-linux Hydra build #1205 of bootstrap:bootstrap:bin0-bin.powerpc64-linux
Hydra bin0.powerpc64-linux Hydra build #1203 of bootstrap:bootstrap:bin0.powerpc64-linux
add ppc64 and ppc64le
2022-02-28 10:02:57 +01:00

23 lines
545 B
Nix

system: { self, nixpkgs, ... } @ args: with self.lib.${system}; with nixpkgs.lib; if lists.any (s: system == s) [
"armv7l-linux"
"aarch64-linux"
"powerpc-linux"
"powerpc64-linux"
"powerpc64le-linux"
] then
rec {
bin0-bin = baseDerivation {
name = "bin0-bin";
script = ''
set -ex
cp ${./. + "/${system}/bin0"} $out
'';
};
bin0 = baseDerivation {
name = "bin0";
script = ''
set -ex
${bin0-bin} ${./. + "/${system}/bin0.bin0"} $out
'';
};
} else { }