forked from mirrors/nixpkgs
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:
parent
3496678304
commit
e471f6963f
|
@ -32,6 +32,8 @@ pkgs.releaseTools.sourceTarball {
|
||||||
echo "git-revision is $(cat .git-revision)"
|
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
|
nixpkgs-basic-release-checks = import ./nixpkgs-basic-release-checks.nix
|
||||||
{ inherit nix pkgs nixpkgs supportedSystems; };
|
{ inherit nix pkgs nixpkgs supportedSystems; };
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
{ supportedSystems, nixpkgs, pkgs, nix }:
|
{ 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
|
set -o pipefail
|
||||||
|
|
||||||
export NIX_STORE_DIR=$TMPDIR/store
|
export NIX_STORE_DIR=$TMPDIR/store
|
||||||
|
|
Loading…
Reference in a new issue