0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 05:38:57 +03:00

treewide: fix lints

Arg to lib.optional is a list

build time tool in buildInputs
This commit is contained in:
Artturin 2023-03-11 00:55:17 +02:00
parent 0c4800d579
commit cab4a24c34
28 changed files with 41 additions and 40 deletions

View file

@ -1300,7 +1300,7 @@ in {
SystemCallFilter = [
"@system-service"
"~@privileged"
] ++ lib.optional (cfg.settings.server.protocol == "socket") [ "@chown" ];
] ++ lib.optionals (cfg.settings.server.protocol == "socket") [ "@chown" ];
UMask = "0027";
};
preStart = ''