Skip to content

Commit

Permalink
hydra: work around NixOS/hydra#1337 by removing the (unused, in our s…
Browse files Browse the repository at this point in the history
…etup) declarative jobsets plugin
  • Loading branch information
delroth committed Jan 12, 2024
1 parent 36ca684 commit 8c911bc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions delft/hydra.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,15 @@ in
</hydra_notify>
'';

# Work around https://github.com/NixOS/hydra/issues/1337
services.hydra-dev.package = pkgs.hydra.overrideAttrs(final: prev: {
postPatch = ''
${prev.postPatch or ""}
rm src/lib/Hydra/Plugin/DeclarativeJobsets.pm
rm t/Hydra/Plugin/DeclarativeJobsets/basic.t
'';
});

systemd.tmpfiles.rules =
[
"d /var/cache/hydra 0755 hydra hydra - -"
Expand Down

0 comments on commit 8c911bc

Please sign in to comment.