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.
pull/16/head
Sebastien Bourdeauducq 2019-02-17 12:33:27 +08:00
parent 2d2f9bfbf6
commit 84abcc05e8
1 changed files with 1 additions and 0 deletions

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