don't know how to build these paths: /nix/store/5ljgj0ap54qm5g158hc59r6bnd8j1pk2-treefmt-check.drv warning: ignoring the client-specified setting 'store', because it is a restricted setting and you are not a trusted user error: Cannot build '/nix/store/5ljgj0ap54qm5g158hc59r6bnd8j1pk2-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/nj6xbyw50lqasqdxy3f78pcffvy9b504-treefmt-check Last 25 log lines: > --- a/nixosModules/clanCore/postgresql/default.nix > +++ b/nixosModules/clanCore/postgresql/default.nix > @@ -135,7 +135,8 @@ in > } > ]; > > - warnings = lib.mapAttrsToList (serviceName: backupCfg: > + warnings = lib.mapAttrsToList ( > + serviceName: backupCfg: > lib.optionalString (!lib.elem backupCfg.database config.services.postgresql.ensureDatabases) '' > Database '${backupCfg.database}' configured for backup in clan.core.postgresql.backupDatabases.${serviceName} > is not listed in services.postgresql.ensureDatabases. This is fine when the database is provisioned by its > diff --git a/nixosModules/clanCore/postgresql/tests/flake-module.nix b/nixosModules/clanCore/postgresql/tests/flake-module.nix > index 1049739..42d93c3 100644 > --- a/nixosModules/clanCore/postgresql/tests/flake-module.nix > +++ b/nixosModules/clanCore/postgresql/tests/flake-module.nix > @@ -12,7 +12,7 @@ > > machines.machine = { > clan.core.postgresql.enable = true; > - clan.core.postgresql.backupDatabases.test = {}; > + clan.core.postgresql.backupDatabases.test = { }; > > services.postgresql.ensureDatabases = [ "test" ]; > services.postgresql.ensureUsers = [ For full logs, run: nix log /nix/store/5ljgj0ap54qm5g158hc59r6bnd8j1pk2-treefmt-check.drv