1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

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";