this derivation will be built: /nix/store/2pnfljhznpdq3gs719cr6zir71m6nggm-treefmt-check.drv building '/nix/store/2pnfljhznpdq3gs719cr6zir71m6nggm-treefmt-check.drv' treefmt-check> treefmt v2.6.0traversed 781 files treefmt-check> emitted 531 files for processing treefmt-check> formatted 531 files (1 changed) in 6.074s treefmt-check> M modules/dev/llms/pi-nix.nix treefmt-check> diff --git a/modules/dev/llms/pi-nix.nix b/modules/dev/llms/pi-nix.nix treefmt-check> index 1be25ba..98c5f71 100644 treefmt-check> --- a/modules/dev/llms/pi-nix.nix treefmt-check> +++ b/modules/dev/llms/pi-nix.nix treefmt-check> @@ -36,7 +36,7 @@ in treefmt-check> description = "Agent directory, absolute or relative to the home directory."; treefmt-check> }; treefmt-check> settings = lib.mkOption { treefmt-check> - type = jsonFormat.type; treefmt-check> + inherit (jsonFormat) type; treefmt-check> default = { }; treefmt-check> description = "Contents of settings.json. Use strings for package store paths."; treefmt-check> }; error: Cannot build '/nix/store/2pnfljhznpdq3gs719cr6zir71m6nggm-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/l67w06209ryj0wngcxkffhrsimy0njlq-treefmt-check Last 17 log lines: > treefmt v2.6.0traversed 781 files > emitted 531 files for processing > formatted 531 files (1 changed) in 6.074s > M modules/dev/llms/pi-nix.nix > diff --git a/modules/dev/llms/pi-nix.nix b/modules/dev/llms/pi-nix.nix > index 1be25ba..98c5f71 100644 > --- a/modules/dev/llms/pi-nix.nix > +++ b/modules/dev/llms/pi-nix.nix > @@ -36,7 +36,7 @@ in > description = "Agent directory, absolute or relative to the home directory."; > }; > settings = lib.mkOption { > - type = jsonFormat.type; > + inherit (jsonFormat) type; > default = { }; > description = "Contents of settings.json. Use strings for package store paths."; > }; For full logs, run: nix log /nix/store/2pnfljhznpdq3gs719cr6zir71m6nggm-treefmt-check.drv