diff options
author | Vladimír Čunát <v@cunat.cz> | 2023-04-30 15:26:22 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2023-04-30 15:26:22 +0200 |
commit | e471f6963fe60c3315e25afc98a16e180cad5a10 (patch) | |
tree | e815827b4e70b5553b9b14af6e3738150e0e6197 | |
parent | 34966783042097b037f57c911290d6729fa75d0c (diff) | |
download | nixpkgs-e471f6963fe60c3315e25afc98a16e180cad5a10.tar nixpkgs-e471f6963fe60c3315e25afc98a16e180cad5a10.tar.gz nixpkgs-e471f6963fe60c3315e25afc98a16e180cad5a10.tar.bz2 nixpkgs-e471f6963fe60c3315e25afc98a16e180cad5a10.tar.lz nixpkgs-e471f6963fe60c3315e25afc98a16e180cad5a10.tar.xz nixpkgs-e471f6963fe60c3315e25afc98a16e180cad5a10.tar.zst nixpkgs-e471f6963fe60c3315e25afc98a16e180cad5a10.zip |
tarball job: tag both derivations as big-parallel
The aim here is to avoid exhausting RAM of our normal machines on hydra.nixos.org. See #227945 for details.
-rw-r--r-- | pkgs/top-level/make-tarball.nix | 2 | ||||
-rw-r--r-- | pkgs/top-level/nixpkgs-basic-release-checks.nix | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/top-level/make-tarball.nix b/pkgs/top-level/make-tarball.nix index ea975a9b6fc..abc121e29dc 100644 --- a/pkgs/top-level/make-tarball.nix +++ b/pkgs/top-level/make-tarball.nix @@ -32,6 +32,8 @@ pkgs.releaseTools.sourceTarball { echo "git-revision is $(cat .git-revision)" ''; + requiredSystemFeatures = [ "big-parallel" ]; # 1 thread but ~36G RAM (!) see #227945 + nixpkgs-basic-release-checks = import ./nixpkgs-basic-release-checks.nix { inherit nix pkgs nixpkgs supportedSystems; }; diff --git a/pkgs/top-level/nixpkgs-basic-release-checks.nix b/pkgs/top-level/nixpkgs-basic-release-checks.nix index ab9dac4b380..0b4af4114ef 100644 --- a/pkgs/top-level/nixpkgs-basic-release-checks.nix +++ b/pkgs/top-level/nixpkgs-basic-release-checks.nix @@ -1,6 +1,12 @@ { supportedSystems, nixpkgs, pkgs, nix }: -pkgs.runCommand "nixpkgs-release-checks" { src = nixpkgs; buildInputs = [nix]; } '' +pkgs.runCommand "nixpkgs-release-checks" + { + src = nixpkgs; + buildInputs = [ nix ]; + requiredSystemFeatures = [ "big-parallel" ]; # 1 thread but ~10G RAM; see #227945 + } + '' set -o pipefail export NIX_STORE_DIR=$TMPDIR/store |