nixos/buildbot-master: allow merging extraConfig and extraImports (#322469)

This commit is contained in:
Jörg Thalheim 2024-11-04 13:32:04 +01:00 committed by GitHub
commit 0f73a33f7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -93,13 +93,13 @@ in {
};
extraConfig = lib.mkOption {
type = lib.types.str;
type = lib.types.lines;
description = "Extra configuration to append to master.cfg";
default = "c['buildbotNetUsageData'] = None";
};
extraImports = lib.mkOption {
type = lib.types.str;
type = lib.types.lines;
description = "Extra python imports to prepend to master.cfg";
default = "";
example = "from buildbot.process.project import Project";