about summary refs log tree commit diff
path: root/pkgs/top-level/release.nix
diff options
context:
space:
mode:
authorAndrew Childs <lorne@cons.org.nz>2021-04-28 17:21:54 +0900
committerAndrew Childs <lorne@cons.org.nz>2021-05-17 00:28:05 +0900
commit4b569c17d7a58f4f02708aed7349b92c22e257c8 (patch)
tree8e76d8c446e2f98ecfe7ffae4e1d7a194313992b /pkgs/top-level/release.nix
parent48519562e3e2107c4aa312939f7d4791f912c693 (diff)
downloadnixlib-4b569c17d7a58f4f02708aed7349b92c22e257c8.tar
nixlib-4b569c17d7a58f4f02708aed7349b92c22e257c8.tar.gz
nixlib-4b569c17d7a58f4f02708aed7349b92c22e257c8.tar.bz2
nixlib-4b569c17d7a58f4f02708aed7349b92c22e257c8.tar.lz
nixlib-4b569c17d7a58f4f02708aed7349b92c22e257c8.tar.xz
nixlib-4b569c17d7a58f4f02708aed7349b92c22e257c8.tar.zst
nixlib-4b569c17d7a58f4f02708aed7349b92c22e257c8.zip
release.nix: add cross-compiled aarch64-darwin bootstrap tools
Diffstat (limited to 'pkgs/top-level/release.nix')
-rw-r--r--pkgs/top-level/release.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/top-level/release.nix b/pkgs/top-level/release.nix
index 5fc6e91b3118..0b18dd1ecf26 100644
--- a/pkgs/top-level/release.nix
+++ b/pkgs/top-level/release.nix
@@ -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) // {