mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 01:33:20 +00:00
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
@ -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 New Issue
Block a user