enable useSubstitutes for hydra

This prevents rebuilds of nixpkgs, and those rebuilds getting stuck due to missing features
on the default buildslave.

Thanks cleverca22 for figuring this out.
This commit is contained in:
Sebastien Bourdeauducq 2019-02-17 12:33:27 +08:00
parent 2d2f9bfbf6
commit 84abcc05e8

View File

@ -126,6 +126,7 @@ ACTION=="add", SUBSYSTEM=="tty", \
services.hydra = {
enable = true;
package = pkgs.callPackage ./hydra.nix {};
useSubstitutes = true;
hydraURL = "https://nixbld.m-labs.hk";
notificationSender = "hydra@m-labs.hk";
minimumDiskFree = 2; # in GB