Merge pull request #297133 from trofi/etebase-server-fix-test
etebase-server: fix the eval on `null` `cfg.unixSocket`
This commit is contained in:
commit
15541288f3
1 changed files with 1 additions and 0 deletions
|
@ -177,6 +177,7 @@ in
|
|||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d '${cfg.dataDir}' - ${cfg.user} ${config.users.users.${cfg.user}.group} - -"
|
||||
] ++ lib.optionals (cfg.unixSocket != null) [
|
||||
"d '${builtins.dirOf cfg.unixSocket}' - ${cfg.user} ${config.users.users.${cfg.user}.group} - -"
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue