hydra: work around NixOS/hydra#1337 by removing the (unused, in our setup) declarative jobsets plugin
Pierre Bourdon committed
Jan 13, 2024 at 00:28 UTC
8c911bc4395b12aef0396914e7208d3f55971496
1 file changed
+9
delft/hydra.nix
+9
@@ -67,6 +67,15 @@ in
67
</hydra_notify>
68
'';
69
70
+ # Work around https://github.com/NixOS/hydra/issues/1337
71
+ services.hydra-dev.package = pkgs.hydra.overrideAttrs(final: prev: {
72
+ postPatch = ''
73
+ ${prev.postPatch or ""}
74
+ rm src/lib/Hydra/Plugin/DeclarativeJobsets.pm
75
+ rm t/Hydra/Plugin/DeclarativeJobsets/basic.t
76
+ '';
77
+ });
78
+
79
systemd.tmpfiles.rules =
80
[
81
"d /var/cache/hydra 0755 hydra hydra - -"