mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +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
|
users.extraUsers = optionalAttrs (cfg.user == "nginx") (singleton
|
||||||
{ name = "nginx";
|
{ name = "nginx";
|
||||||
group = "nginx";
|
group = "nginx";
|
||||||
uid = config.ids.uids.nginx;
|
uid = config.ids.uids.nginx;
|
||||||
};
|
});
|
||||||
|
|
||||||
users.extraGroups = optionalAttrs (cfg.group == "nginx") singleton
|
users.extraGroups = optionalAttrs (cfg.group == "nginx") (singleton
|
||||||
{ name = "nginx";
|
{ name = "nginx";
|
||||||
gid = config.ids.gids.nginx;
|
gid = config.ids.gids.nginx;
|
||||||
};
|
});
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue