Skip to content

Commit f964095

Browse files
committed
nix: enable buildbot badges
1 parent 6552835 commit f964095

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

nix/master.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,17 @@ in
183183
ps.treq
184184
ps.psycopg2
185185
(ps.toPythonModule pkgs.buildbot-worker)
186+
pkgs.buildbot-plugins.badges
186187
pkgs.buildbot-plugins.www-react
187188
(pkgs.python3.pkgs.callPackage ../default.nix { })
188189
];
190+
191+
extraConfig = ''
192+
c.setdefault("www", {})
193+
c['www'].setdefault("plugins", {})
194+
# https://docs.buildbot.net/current/manual/configuration/www.html#badges
195+
c['www']['plugins'].setdefault("badges", {})
196+
'';
189197
};
190198

191199
systemd.services.buildbot-master = {

0 commit comments

Comments
 (0)