re-introduce buildbot patch for old buildbot versions
This commit is contained in:
parent
235fb5166d
commit
cd977bb378
|
@ -178,7 +178,8 @@ in
|
||||||
in
|
in
|
||||||
"${if hasSSL then "https" else "http"}://${cfg.domain}/";
|
"${if hasSSL then "https" else "http"}://${cfg.domain}/";
|
||||||
dbUrl = config.services.buildbot-nix.master.dbUrl;
|
dbUrl = config.services.buildbot-nix.master.dbUrl;
|
||||||
package = (pkgs.buildbot.overrideAttrs (old: {
|
# Can be dropped after we have 24.05 everywhere
|
||||||
|
package = lib.mkIf (lib.versionOlder pkgs.buildbot.version "3.10.0") (pkgs.buildbot.overrideAttrs (old: {
|
||||||
patches = old.patches ++ [ ./0001-allow-secrets-to-be-group-readable.patch ];
|
patches = old.patches ++ [ ./0001-allow-secrets-to-be-group-readable.patch ];
|
||||||
}));
|
}));
|
||||||
pythonPackages = ps: [
|
pythonPackages = ps: [
|
||||||
|
|
Loading…
Reference in a new issue