forked from M-Labs/nix-scripts
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:
parent
2d2f9bfbf6
commit
84abcc05e8
@ -126,6 +126,7 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
|||||||
services.hydra = {
|
services.hydra = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.callPackage ./hydra.nix {};
|
package = pkgs.callPackage ./hydra.nix {};
|
||||||
|
useSubstitutes = true;
|
||||||
hydraURL = "https://nixbld.m-labs.hk";
|
hydraURL = "https://nixbld.m-labs.hk";
|
||||||
notificationSender = "hydra@m-labs.hk";
|
notificationSender = "hydra@m-labs.hk";
|
||||||
minimumDiskFree = 2; # in GB
|
minimumDiskFree = 2; # in GB
|
||||||
|
Loading…
Reference in New Issue
Block a user