0
0
Fork 0
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:
worldofpeace 2020-01-08 10:05:39 -05:00
parent ffe6b959a1
commit 79de730e77
2 changed files with 2 additions and 2 deletions

View file

@ -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 = { };
};