mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
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
|
@ -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