mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
Add braces to fix compilation errors.
I don't understand how Apache gets away without them.
This commit is contained in:
parent
76b7dea805
commit
9c62645273
1 changed files with 10 additions and 9 deletions
|
@ -74,14 +74,15 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
users.extraUsers = optionalAttrs (cfg.user == "nginx") singleton
|
||||
{ name = "nginx";
|
||||
group = "nginx";
|
||||
uid = config.ids.uids.nginx;
|
||||
};
|
||||
users.extraUsers = optionalAttrs (cfg.user == "nginx") (singleton
|
||||
{ name = "nginx";
|
||||
group = "nginx";
|
||||
uid = config.ids.uids.nginx;
|
||||
});
|
||||
|
||||
users.extraGroups = optionalAttrs (cfg.group == "nginx") singleton
|
||||
{ name = "nginx";
|
||||
gid = config.ids.gids.nginx;
|
||||
};
|
||||
users.extraGroups = optionalAttrs (cfg.group == "nginx") (singleton
|
||||
{ name = "nginx";
|
||||
gid = config.ids.gids.nginx;
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue