about summary refs log tree commit diff
path: root/nix/hosts/corrino/www
diff options
context:
space:
mode:
authorEmile <git@emile.space>2024-07-21 17:55:08 +0200
committerEmile <git@emile.space>2024-07-21 17:55:08 +0200
commiteb38cd487f5f973c33e1f2ea1c7cbea3b819b546 (patch)
tree63b86862d3e9728fabc732daf625ad643179588b /nix/hosts/corrino/www
parent4e1a25f4eea531114538bce616ccf89226ac4b2c (diff)
fed up by hydra having problems evaluating due to some permission issue
Diffstat (limited to 'nix/hosts/corrino/www')
-rw-r--r--nix/hosts/corrino/www/hydra.emile.space.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nix/hosts/corrino/www/hydra.emile.space.nix b/nix/hosts/corrino/www/hydra.emile.space.nix
index 1d167ce..00405f4 100644
--- a/nix/hosts/corrino/www/hydra.emile.space.nix
+++ b/nix/hosts/corrino/www/hydra.emile.space.nix
@@ -23,6 +23,12 @@ in {
   services.hydra = {
     enable = true;
 
+    package = pkgs.hydra_unstable.overrideAttrs (old: {
+      patches = (if old ? patches then old.patches else []) ++ [
+        ./hydra.patch
+      ];
+    });
+
     listenHost = "*";
     port = ports.hydra;
     hydraURL = "https://hydra.emile.space"; # externally visible URL
@@ -53,6 +59,7 @@ in {
       <git-input>
         timeout = 3600
       </git-input>
+      evaluator_restrict_eval = false
     '';
   };
 }