this derivation will be built: /nix/store/lxrgf5g1gqcqmhfiks0rcb4i4m9mcqch-treefmt-check.drv building '/nix/store/lxrgf5g1gqcqmhfiks0rcb4i4m9mcqch-treefmt-check.drv' treefmt-check> treefmt v2.5.0traversed 716 files treefmt-check> emitted 494 files for processing treefmt-check> formatted 494 files (1 changed) in 4.603s treefmt-check> M hosts/mali/opencloud-home.nix treefmt-check> diff --git a/hosts/mali/opencloud-home.nix b/hosts/mali/opencloud-home.nix treefmt-check> index 0fdcbc7..72fd044 100644 treefmt-check> --- a/hosts/mali/opencloud-home.nix treefmt-check> +++ b/hosts/mali/opencloud-home.nix treefmt-check> @@ -11,20 +11,18 @@ in treefmt-check> { treefmt-check> options.modules.services.opencloud.maliStorage = lib.mkOption { treefmt-check> type = lib.types.nullOr ( treefmt-check> - lib.types.submodule ( treefmt-check> - _: { treefmt-check> - options = { treefmt-check> - dataset = lib.mkOption { treefmt-check> - type = lib.types.str; treefmt-check> - description = "ZFS dataset containing this OpenCloud instance's data."; treefmt-check> - }; treefmt-check> - dataDir = lib.mkOption { treefmt-check> - type = lib.types.str; treefmt-check> - description = "Mountpoint for this OpenCloud instance's data dataset."; treefmt-check> - }; treefmt-check> + lib.types.submodule (_: { treefmt-check> + options = { treefmt-check> + dataset = lib.mkOption { treefmt-check> + type = lib.types.str; treefmt-check> + description = "ZFS dataset containing this OpenCloud instance's data."; treefmt-check> }; treefmt-check> - } treefmt-check> - ) treefmt-check> + dataDir = lib.mkOption { treefmt-check> + type = lib.types.str; treefmt-check> + description = "Mountpoint for this OpenCloud instance's data dataset."; treefmt-check> + }; treefmt-check> + }; treefmt-check> + }) treefmt-check> ); treefmt-check> default = null; treefmt-check> description = "Mali storage and NFS export for one OpenCloud instance."; error: Cannot build '/nix/store/lxrgf5g1gqcqmhfiks0rcb4i4m9mcqch-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/7rkj86v2lxl45lylg8y1fz4hip86x7wn-treefmt-check Last 25 log lines: > - dataset = lib.mkOption { > - type = lib.types.str; > - description = "ZFS dataset containing this OpenCloud instance's data."; > - }; > - dataDir = lib.mkOption { > - type = lib.types.str; > - description = "Mountpoint for this OpenCloud instance's data dataset."; > - }; > + lib.types.submodule (_: { > + options = { > + dataset = lib.mkOption { > + type = lib.types.str; > + description = "ZFS dataset containing this OpenCloud instance's data."; > }; > - } > - ) > + dataDir = lib.mkOption { > + type = lib.types.str; > + description = "Mountpoint for this OpenCloud instance's data dataset."; > + }; > + }; > + }) > ); > default = null; > description = "Mali storage and NFS export for one OpenCloud instance."; For full logs, run: nix log /nix/store/lxrgf5g1gqcqmhfiks0rcb4i4m9mcqch-treefmt-check.drv