1
0
Fork 1
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:
Pol Dellaiera 2024-03-20 07:38:15 +01:00 committed by GitHub
commit 15541288f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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} - -"
];