services.hydra -> services.hydra-dev
Since Nixpkgs 16.09 contains a Hydra module, we were getting a conflict. I guess we should have a way to override modules in Nixpkgs...
This commit is contained in:
@ -4,7 +4,7 @@ with lib;
|
||||
|
||||
let
|
||||
|
||||
cfg = config.services.hydra;
|
||||
cfg = config.services.hydra-dev;
|
||||
|
||||
baseDir = "/var/lib/hydra";
|
||||
|
||||
@ -42,7 +42,7 @@ in
|
||||
###### interface
|
||||
options = {
|
||||
|
||||
services.hydra = rec {
|
||||
services.hydra-dev = rec {
|
||||
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
@ -217,9 +217,9 @@ in
|
||||
|
||||
nix.trustedUsers = [ "hydra-queue-runner" ];
|
||||
|
||||
services.hydra.package = mkDefault ((import ./release.nix {}).build.x86_64-linux);
|
||||
services.hydra-dev.package = mkDefault ((import ./release.nix {}).build.x86_64-linux);
|
||||
|
||||
services.hydra.extraConfig =
|
||||
services.hydra-dev.extraConfig =
|
||||
''
|
||||
using_frontend_proxy 1
|
||||
base_uri ${cfg.hydraURL}
|
||||
|
Reference in New Issue
Block a user