Loading ci/eval/README.md +2 −2 Original line number Diff line number Diff line Loading @@ -10,14 +10,14 @@ nix-build ci -A eval.baseline The two most important arguments are: - `--arg evalSystems`: The set of systems for which `nixpkgs` should be evaluated. Defaults to the four official platforms (`x86_64-linux`, `aarch64-linux`, `x86_64-darwin` and `aarch64-darwin`). Defaults to the [supported systems](../../pkgs/top-level/release-supported-systems.json) for the branch. Example: `--arg evalSystems '["x86_64-linux" "aarch64-darwin"]'` - `--arg quickTest`: Enables testing a single chunk of the current system only for quick iteration. Example: `--arg quickTest true` The following arguments can be used to fine-tune performance: - `--max-jobs`: The maximum number of derivations to run at the same time. Only each [supported system](../supportedSystems.json) gets a separate derivation, so it doesn't make sense to set this higher than that number. Only each supported system gets a separate derivation, so it doesn't make sense to set this higher than that number. - `--cores`: The number of cores to use for each job. Recommended to set this to the number of cores on your system divided by `--max-jobs`. - `--arg chunkSize`: The number of attributes that are evaluated simultaneously on a single core. Loading ci/eval/default.nix +3 −2 Original line number Diff line number Diff line Loading @@ -38,7 +38,6 @@ let fileset = unions ( map (lib.path.append ../..) [ ".version" "ci/supportedSystems.json" "ci/eval/attrpaths.nix" "ci/eval/chunk.nix" "ci/eval/outpaths.nix" Loading @@ -53,7 +52,9 @@ let ); }; supportedSystems = builtins.fromJSON (builtins.readFile ../supportedSystems.json); supportedSystems = builtins.fromJSON ( builtins.readFile ../../pkgs/top-level/release-supported-systems.json ); attrpathsSuperset = { Loading ci/eval/outpaths.nix +3 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,9 @@ attrNamesOnly ? false, # Set this to `null` to build for builtins.currentSystem only systems ? builtins.fromJSON (builtins.readFile ../supportedSystems.json), systems ? builtins.fromJSON ( builtins.readFile (path + "/pkgs/top-level/release-supported-systems.json") ), # Customize the config used to evaluate nixpkgs extraNixpkgsConfig ? { }, Loading pkgs/top-level/release-haskell.nix +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ $ hydra-eval-jobs -I . pkgs/top-level/release-haskell.nix */ { supportedSystems ? builtins.fromJSON (builtins.readFile ../../ci/supportedSystems.json), supportedSystems ? builtins.fromJSON (builtins.readFile ./release-supported-systems.json), }: let Loading pkgs/top-level/release-staging.nix +1 −6 Original line number Diff line number Diff line Loading @@ -12,12 +12,7 @@ revision = "0000000000000000000000000000000000000000"; }, # The platform doubles for which we build Nixpkgs. supportedSystems ? [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ], supportedSystems ? builtins.fromJSON (builtins.readFile ./release-supported-systems.json), # Attributes passed to nixpkgs. Don't build packages marked as unfree. nixpkgsArgs ? { config = { Loading Loading
ci/eval/README.md +2 −2 Original line number Diff line number Diff line Loading @@ -10,14 +10,14 @@ nix-build ci -A eval.baseline The two most important arguments are: - `--arg evalSystems`: The set of systems for which `nixpkgs` should be evaluated. Defaults to the four official platforms (`x86_64-linux`, `aarch64-linux`, `x86_64-darwin` and `aarch64-darwin`). Defaults to the [supported systems](../../pkgs/top-level/release-supported-systems.json) for the branch. Example: `--arg evalSystems '["x86_64-linux" "aarch64-darwin"]'` - `--arg quickTest`: Enables testing a single chunk of the current system only for quick iteration. Example: `--arg quickTest true` The following arguments can be used to fine-tune performance: - `--max-jobs`: The maximum number of derivations to run at the same time. Only each [supported system](../supportedSystems.json) gets a separate derivation, so it doesn't make sense to set this higher than that number. Only each supported system gets a separate derivation, so it doesn't make sense to set this higher than that number. - `--cores`: The number of cores to use for each job. Recommended to set this to the number of cores on your system divided by `--max-jobs`. - `--arg chunkSize`: The number of attributes that are evaluated simultaneously on a single core. Loading
ci/eval/default.nix +3 −2 Original line number Diff line number Diff line Loading @@ -38,7 +38,6 @@ let fileset = unions ( map (lib.path.append ../..) [ ".version" "ci/supportedSystems.json" "ci/eval/attrpaths.nix" "ci/eval/chunk.nix" "ci/eval/outpaths.nix" Loading @@ -53,7 +52,9 @@ let ); }; supportedSystems = builtins.fromJSON (builtins.readFile ../supportedSystems.json); supportedSystems = builtins.fromJSON ( builtins.readFile ../../pkgs/top-level/release-supported-systems.json ); attrpathsSuperset = { Loading
ci/eval/outpaths.nix +3 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,9 @@ attrNamesOnly ? false, # Set this to `null` to build for builtins.currentSystem only systems ? builtins.fromJSON (builtins.readFile ../supportedSystems.json), systems ? builtins.fromJSON ( builtins.readFile (path + "/pkgs/top-level/release-supported-systems.json") ), # Customize the config used to evaluate nixpkgs extraNixpkgsConfig ? { }, Loading
pkgs/top-level/release-haskell.nix +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ $ hydra-eval-jobs -I . pkgs/top-level/release-haskell.nix */ { supportedSystems ? builtins.fromJSON (builtins.readFile ../../ci/supportedSystems.json), supportedSystems ? builtins.fromJSON (builtins.readFile ./release-supported-systems.json), }: let Loading
pkgs/top-level/release-staging.nix +1 −6 Original line number Diff line number Diff line Loading @@ -12,12 +12,7 @@ revision = "0000000000000000000000000000000000000000"; }, # The platform doubles for which we build Nixpkgs. supportedSystems ? [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ], supportedSystems ? builtins.fromJSON (builtins.readFile ./release-supported-systems.json), # Attributes passed to nixpkgs. Don't build packages marked as unfree. nixpkgsArgs ? { config = { Loading