these 3 derivations will be built: /nix/store/6ks46ikd6s59c7z5yr2a3cqlpk6p3hdr-treefmt.toml.drv /nix/store/y6zk9pwrgkcczzkl1n92gcfpb4i4x4fb-treefmt.drv /nix/store/vj7dzi7b495c2q1kixqqv02a1hzkjg8b-treefmt-check.drv these 9 paths will be fetched (618.3 MiB download, 2.1 GiB unpacked): /nix/store/k3mkal015d01wqj0vg7h9f657amvlsdv-alejandra-4.0.0 /nix/store/1pyc40aar7cymg1i1hvlrhnp3mcdva50-cargo-1.95.0 /nix/store/h0srj3gnx31yxllb19wi58nhkq17q0wn-cargo-bootstrap-1.95.0 /nix/store/scg89lc4r3vg2gnl9n235qzwilfxbyl7-llvm-21.1.8-lib /nix/store/yhsvi1s62x31ikr8hchah59fgsdbmdcb-rustc-1.95.0 /nix/store/hyyk072yiwmxx3yfvfxmf90m6bxcp1jm-rustc-bootstrap-1.95.0 /nix/store/6p38q5q6bf1rqbqfyfgp34f4b4m3bln3-rustc-bootstrap-wrapper-1.95.0 /nix/store/00lwhlix1jqpy3k5m621qk0vaba3rwgj-rustc-wrapper-1.95.0 /nix/store/r2fi72db9a0l2xclj18xq4isn3mrci4q-rustfmt-1.95.0 building '/nix/store/6ks46ikd6s59c7z5yr2a3cqlpk6p3hdr-treefmt.toml.drv' on 'ssh-ng://nix@eliza' building '/nix/store/6ks46ikd6s59c7z5yr2a3cqlpk6p3hdr-treefmt.toml.drv' treefmt.toml> structuredAttrs is enabled building '/nix/store/y6zk9pwrgkcczzkl1n92gcfpb4i4x4fb-treefmt.drv' on 'ssh-ng://nix@eliza' building '/nix/store/y6zk9pwrgkcczzkl1n92gcfpb4i4x4fb-treefmt.drv' building '/nix/store/vj7dzi7b495c2q1kixqqv02a1hzkjg8b-treefmt-check.drv' on 'ssh-ng://nix@eliza' building '/nix/store/vj7dzi7b495c2q1kixqqv02a1hzkjg8b-treefmt-check.drv' treefmt-check> treefmt v2.5.0traversed 28 files treefmt-check> emitted 17 files for processing treefmt-check> formatted 17 files (2 changed) in 95ms treefmt-check> M tests/hello-flake-v1/flake.nix treefmt-check> M tests/hello-flake-v2/flake.nix treefmt-check> diff --git a/tests/hello-flake-v1/flake.nix b/tests/hello-flake-v1/flake.nix treefmt-check> index d58aa8a..f3d5f28 100644 treefmt-check> --- a/tests/hello-flake-v1/flake.nix treefmt-check> +++ b/tests/hello-flake-v1/flake.nix treefmt-check> @@ -1,12 +1,10 @@ treefmt-check> { treefmt-check> description = "Hello flake v1"; treefmt-check> treefmt-check> - outputs = treefmt-check> - { self }: treefmt-check> - { treefmt-check> - packages.x86_64-linux.default = import ./default.nix; treefmt-check> - packages.aarch64-linux.default = import ./default.nix; treefmt-check> - packages.x86_64-darwin.default = import ./default.nix; treefmt-check> - packages.aarch64-darwin.default = import ./default.nix; treefmt-check> - }; treefmt-check> + outputs = { self }: { treefmt-check> + packages.x86_64-linux.default = import ./default.nix; treefmt-check> + packages.aarch64-linux.default = import ./default.nix; treefmt-check> + packages.x86_64-darwin.default = import ./default.nix; treefmt-check> + packages.aarch64-darwin.default = import ./default.nix; treefmt-check> + }; treefmt-check> } treefmt-check> diff --git a/tests/hello-flake-v2/flake.nix b/tests/hello-flake-v2/flake.nix treefmt-check> index 8b5f577..b4181ee 100644 treefmt-check> --- a/tests/hello-flake-v2/flake.nix treefmt-check> +++ b/tests/hello-flake-v2/flake.nix treefmt-check> @@ -1,12 +1,10 @@ treefmt-check> { treefmt-check> description = "Hello flake v2"; treefmt-check> treefmt-check> - outputs = treefmt-check> - { self }: treefmt-check> - { treefmt-check> - packages.x86_64-linux.default = import ./default.nix; treefmt-check> - packages.aarch64-linux.default = import ./default.nix; treefmt-check> - packages.x86_64-darwin.default = import ./default.nix; treefmt-check> - packages.aarch64-darwin.default = import ./default.nix; treefmt-check> - }; treefmt-check> + outputs = { self }: { treefmt-check> + packages.x86_64-linux.default = import ./default.nix; treefmt-check> + packages.aarch64-linux.default = import ./default.nix; treefmt-check> + packages.x86_64-darwin.default = import ./default.nix; treefmt-check> + packages.aarch64-darwin.default = import ./default.nix; treefmt-check> + }; treefmt-check> } error: build of '/nix/store/vj7dzi7b495c2q1kixqqv02a1hzkjg8b-treefmt-check.drv' on 'ssh-ng://nix@eliza' failed: Cannot build '/nix/store/vj7dzi7b495c2q1kixqqv02a1hzkjg8b-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/wrxz7g9w42csjb25nmpzjc52sfqk53wb-treefmt-check Last 25 log lines: > + }; > } > diff --git a/tests/hello-flake-v2/flake.nix b/tests/hello-flake-v2/flake.nix > index 8b5f577..b4181ee 100644 > --- a/tests/hello-flake-v2/flake.nix > +++ b/tests/hello-flake-v2/flake.nix > @@ -1,12 +1,10 @@ > { > description = "Hello flake v2"; > > - outputs = > - { self }: > - { > - packages.x86_64-linux.default = import ./default.nix; > - packages.aarch64-linux.default = import ./default.nix; > - packages.x86_64-darwin.default = import ./default.nix; > - packages.aarch64-darwin.default = import ./default.nix; > - }; > + outputs = { self }: { > + packages.x86_64-linux.default = import ./default.nix; > + packages.aarch64-linux.default = import ./default.nix; > + packages.x86_64-darwin.default = import ./default.nix; > + packages.aarch64-darwin.default = import ./default.nix; > + }; > } For full logs, run: nix log /nix/store/vj7dzi7b495c2q1kixqqv02a1hzkjg8b-treefmt-check.drv error: Cannot build '/nix/store/vj7dzi7b495c2q1kixqqv02a1hzkjg8b-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/wrxz7g9w42csjb25nmpzjc52sfqk53wb-treefmt-check