From cd977bb3784c5e4909b522f5ea09eabb07aa00a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 21 Mar 2024 10:50:37 +0100 Subject: [PATCH] re-introduce buildbot patch for old buildbot versions --- nix/master.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/master.nix b/nix/master.nix index 3d37e48..d461208 100644 --- a/nix/master.nix +++ b/nix/master.nix @@ -178,7 +178,8 @@ in in "${if hasSSL then "https" else "http"}://${cfg.domain}/"; 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 ]; })); pythonPackages = ps: [