Set nix.buildCores
Fixes #15.
Eelco Dolstra committed
Mar 4, 2016 at 14:26 UTC
588e0f4c509ec5f9df58fce726cb6169e794af96
1 file changed
+2
hydra-provisioner/nixops.nix
+2
@@ -39,6 +39,8 @@ in
39
40
nix.package = pkgs.nixUnstable;
41
42
+ nix.buildCores = 0;
43
+
44
nix.gc.automatic = true;
45
nix.gc.dates = "*:0/30";
46
nix.gc.options = ''--max-freed "$((15 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | ${pkgs.gawk}/bin/awk '{ print $4 }')))"'';