release.nix: add cross-compiled aarch64-darwin bootstrap tools

This commit is contained in:
Andrew Childs 2021-04-28 17:21:54 +09:00
parent 48519562e3
commit 4b569c17d7

View file

@ -176,6 +176,15 @@ let
# Test a full stdenv bootstrap from the bootstrap tools definition
inherit (bootstrap.test-pkgs) stdenv;
};
# Cross compiled bootstrap tools
aarch64-darwin =
let
bootstrap = import ../stdenv/darwin/make-bootstrap-tools.nix { system = "x86_64-darwin"; crossSystem = "aarch64-darwin"; };
in {
# Distribution only for now
inherit (bootstrap) dist;
};
};
} // (mapTestOn ((packagePlatforms pkgs) // {