summary refs log tree commit diff
path: root/nixos/modules/services/continuous-integration
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2017-11-22 17:24:55 +0000
committerDomen Kožar <domen@dev.si>2017-11-22 17:24:55 +0000
commitad492e6f33170942d1367468f134b1edd365ccee (patch)
treebca2bef7ad320c5f5fe83d9dbb10eb78deba4af4 /nixos/modules/services/continuous-integration
parente0779e6aed6f1d1ebd6e99ff2679ad1f247309b4 (diff)
downloadnixlib-ad492e6f33170942d1367468f134b1edd365ccee.tar
nixlib-ad492e6f33170942d1367468f134b1edd365ccee.tar.gz
nixlib-ad492e6f33170942d1367468f134b1edd365ccee.tar.bz2
nixlib-ad492e6f33170942d1367468f134b1edd365ccee.tar.lz
nixlib-ad492e6f33170942d1367468f134b1edd365ccee.tar.xz
nixlib-ad492e6f33170942d1367468f134b1edd365ccee.tar.zst
nixlib-ad492e6f33170942d1367468f134b1edd365ccee.zip
hydra: 2017-10-26 -> 2017-11-21
Diffstat (limited to 'nixos/modules/services/continuous-integration')
-rw-r--r--nixos/modules/services/continuous-integration/hydra/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/nixos/modules/services/continuous-integration/hydra/default.nix b/nixos/modules/services/continuous-integration/hydra/default.nix
index 43fec5ff5bb2..2fa7c59a965d 100644
--- a/nixos/modules/services/continuous-integration/hydra/default.nix
+++ b/nixos/modules/services/continuous-integration/hydra/default.nix
@@ -28,6 +28,7 @@ let
 
   serverEnv = env //
     { HYDRA_TRACKER = cfg.tracker;
+      XDG_CACHE_HOME = "${baseDir}/www/.cache";
       COLUMNS = "80";
       PGPASSFILE = "${baseDir}/pgpass-www"; # grrr
     } // (optionalAttrs cfg.debugServer { DBIC_TRACE = "1"; });
@@ -225,14 +226,14 @@ in
 
     services.hydra.extraConfig =
       ''
-        using_frontend_proxy 1
-        base_uri ${cfg.hydraURL}
-        notification_sender ${cfg.notificationSender}
-        max_servers 25
+        using_frontend_proxy = 1
+        base_uri = ${cfg.hydraURL}
+        notification_sender = ${cfg.notificationSender}
+        max_servers = 25
         ${optionalString (cfg.logo != null) ''
-          hydra_logo ${cfg.logo}
+          hydra_logo = ${cfg.logo}
         ''}
-        gc_roots_dir ${cfg.gcRootsDir}
+        gc_roots_dir = ${cfg.gcRootsDir}
         use-substitutes = ${if cfg.useSubstitutes then "1" else "0"}
       '';