hydra-module.nix: add 'useSubstitutes' option to control use of binary caches
[?]
Apr 19, 2016, 2:12 PM
G7LZJ4VAPKYXTTSI5WXPEWF5VF3ZMNLKIEPYWZULYNIZFXTI3ZQACDependencies
- [2]
36YF4WOZRemove unnecessary call to hydra-queue-runner --unlock - [3]
CF7QG4IAMake NIX_REMOTE_SYSTEMS configurable - [4]
2ANV36PBHackery - [5]
TTZ26BJQUnify Hydra's NixOS module with the one used for hydra.nixos.org - [6]
4HDPYRJ6Update the hydra-queue-runner unit - [7]
ZYEFL36QPorted/merged properties from the TUD configuration's hydra-module - [8]
7XOH2DGHhydra-module.nix: Give types to options - [*]
D3MDJONY
Change contents
- edit in hydra-module.nix at line 171
};useSubstitutes = mkOption {type = types.bool;default = false;description = ''Whether to use binary caches for downloading store paths. Note thatbinary substitutions trigger (a potentially large number of) additionalHTTP requests that slow down the queue monitor thread significantly.Also, this Hydra instance will serve those downloaded store paths toits users with its own signature attached as if it had built themitself, so don't enable this feature unless your active binary cachesare absolute trustworthy.''; - replacement in hydra-module.nix at line 327
{ ExecStart = "@${cfg.package}/bin/hydra-queue-runner hydra-queue-runner -v --option build-use-substitutes false";{ ExecStart = "@${cfg.package}/bin/hydra-queue-runner hydra-queue-runner -v --option build-use-substitutes ${if optionalString cfg.useSubstitutes then "true" else "false"}";