etebase-server: fix the eval on null
cfg.unixSocket
Without the change the test eval fails as: $ nix build --no-link -f. etebase-server.tests error: cannot coerce null to a string: null
This commit is contained in:
parent
d0d9d40f13
commit
5a3bd05394
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