@@ -8,20 +8,23 @@
88
99 $ nix-build pkgs/top-level/release.nix -A coreutils.x86_64-linux
1010*/
11−
1211{ nixpkgs ? { outPath = (import ../../lib).cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
1312, officialRelease ? false
14−, # The platforms for which we build Nixpkgs.
15− supportedSystems ? [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ]
16−, # Strip most of attributes when evaluating to spare memory usage
17− scrubJobs ? true
18−, # Attributes passed to nixpkgs. Don't build packages marked as unfree.
19− nixpkgsArgs ? { config = { allowUnfree = false; inHydra = true; }; }
13+ # The platforms for which we build Nixpkgs.
14+, supportedSystems ? [ "x86_64-linux" "x86_64-darwin" "aarchh64-linux" ]
15+, limitedSupportedSystems ? [ "i686-linux" ]
16+ # Strip most of attributes when evaluating to spare memory usage
17+, scrubJobs ? true
18+ # Attributes passed to nixpkgs. Don't build packages marked as unfree.
19+, nixpkgsArgs ? { config = { allowUnfree = false; inHydra = true; }; }
2020}:
2121
2222with import ./release-lib.nix { inherit supportedSystems scrubJobs nixpkgsArgs; };
2323
2424let
25+
26+ systemsWithAnySupport = supportedSystems ++ limitedSupportedSystems;
27+
2528 jobs =
2629 { tarball = import ./make-tarball.nix { inherit pkgs nixpkgs officialRelease; };
2730
@@ -55,43 +58,36 @@ let
5558 jobs.manual
5659 jobs.lib-tests
5760 jobs.stdenv.x86_64-linux
58− jobs.stdenv.i686-linux
5961 jobs.stdenv.x86_64-darwin
6062 jobs.linux.x86_64-linux
61− jobs.linux.i686-linux
6263 jobs.python.x86_64-linux
63− jobs.python.i686-linux
6464 jobs.python.x86_64-darwin
6565 jobs.python3.x86_64-linux
66− jobs.python3.i686-linux
6766 jobs.python3.x86_64-darwin
6867 # Many developers use nix-repl
6968 jobs.nix-repl.x86_64-linux
70− jobs.nix-repl.i686-linux
7169 jobs.nix-repl.x86_64-darwin
7270 # Needed by travis-ci to test PRs
73− jobs.nox.i686-linux
7471 jobs.nox.x86_64-linux
7572 jobs.nox.x86_64-darwin
7673 # Ensure that X11/GTK+ are in order.
7774 jobs.thunderbird.x86_64-linux
78− jobs.thunderbird.i686-linux
7975 # Ensure that basic stuff works on darwin
8076 jobs.git.x86_64-darwin
8177 jobs.mysql.x86_64-darwin
8278 jobs.vim.x86_64-darwin
8379 ] ++ lib.collect lib.isDerivation jobs.stdenvBootstrapTools;
8480 };
85− } // (lib.optionalAttrs (builtins.elem "i686-linux" supportedSystems) {
81+ } // (lib.optionalAttrs (builtins.elem "i686-linux" systemsWithAnySupport) {
8682 stdenvBootstrapTools.i686-linux =
8783 { inherit (import ../stdenv/linux/make-bootstrap-tools.nix { system = "i686-linux"; }) dist test; };
88− }) // (lib.optionalAttrs (builtins.elem "x86_64-linux" supportedSystems) {
84+ }) // (lib.optionalAttrs (builtins.elem "x86_64-linux" systemsWithAnySupport) {
8985 stdenvBootstrapTools.x86_64-linux =
9086 { inherit (import ../stdenv/linux/make-bootstrap-tools.nix { system = "x86_64-linux"; }) dist test; };
91− }) // (lib.optionalAttrs (builtins.elem "aarch64-linux" supportedSystems) {
87+ }) // (lib.optionalAttrs (builtins.elem "aarch64-linux" systemsWithAnySupport) {
9288 stdenvBootstrapTools.aarch64-linux =
9389 { inherit (import ../stdenv/linux/make-bootstrap-tools.nix { system = "aarch64-linux"; }) dist test; };
94− }) // (lib.optionalAttrs (builtins.elem "x86_64-darwin" supportedSystems) {
90+ }) // (lib.optionalAttrs (builtins.elem "x86_64-darwin" systemsWithAnySupport) {
9591 stdenvBootstrapTools.x86_64-darwin =
9692 let
9793 bootstrap = import ../stdenv/darwin/make-bootstrap-tools.nix { system = "x86_64-darwin"; };