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.
This commit is contained in:
Vladimír Čunát 2023-04-30 15:26:22 +02:00
parent 3496678304
commit e471f6963f
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
2 changed files with 9 additions and 1 deletions

View File

@ -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; };

View File

@ -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