mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/buildbot: fix eval
Fixes https://github.com/NixOS/nixpkgs/issues/77309
This commit is contained in:
parent
ffe6b959a1
commit
79de730e77
2 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
services.buildbot-worker.workerPassFile = mkDefault (pkgs.writeText "buildbot-worker-password" cfg.workerPass);
|
||||
|
||||
users.groups = optional (cfg.group == "bbworker") {
|
||||
users.groups = optionalAttrs (cfg.group == "bbworker") {
|
||||
bbworker = { };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue