this derivation will be built: /nix/store/ksbm7wg7nnzn0vmd3cf53f51w4r5b5aw-treefmt-check.drv error: Cannot build '/nix/store/ksbm7wg7nnzn0vmd3cf53f51w4r5b5aw-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/cp69jjz18jyqvr255siwgzd5cwpbh7f3-treefmt-check Last 25 log lines: > after = [ "rustic-init-${backup.repository}.service" ]; > requires = [ "rustic-init-${backup.repository}.service" ]; > }); > @@ -349,7 +349,7 @@ let > description = "Rustic PostgreSQL backup: ${name}"; > user = "root"; > execStart = "${mkPostgresBackupScript name backup}"; > - startAt = backup.startAt; > + inherit (backup) startAt; > after = postgresDependencies name; > requires = postgresDependencies name; > }; > diff --git a/modules/rustic/options.nix b/modules/rustic/options.nix > index 57146bf..0fa4ce8 100644 > --- a/modules/rustic/options.nix > +++ b/modules/rustic/options.nix > @@ -134,7 +134,7 @@ in > }; > > forget = lib.mkOption { > - type = tomlFormat.type; > + inherit (tomlFormat) type; > default = { > keep-daily = 7; > keep-weekly = 4; For full logs, run: nix log /nix/store/ksbm7wg7nnzn0vmd3cf53f51w4r5b5aw-treefmt-check.drv