@cryptotaxi247 / infra / commits / aa3ea4a6

Enable chroot builds on EC2 instances

Eelco Dolstra committed May 31, 2016 at 09:35 UTC aa3ea4a67ff78554e2d9795a068dfb23cfd82610
1 file changed +2
hydra-provisioner/nixops.nix
+2
@@ -42,6 +42,8 @@ in
42
43 nix.buildCores = 0;
44
45 + nix.useChroot = true;
46 +
47 nix.gc.automatic = true;
48 nix.gc.dates = "*:0/30";
49 nix.gc.options = ''--max-freed "$((15 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | ${pkgs.gawk}/bin/awk '{ print $4 }')))"'';