this derivation will be built: /nix/store/vj8nmfaly3b2y5bxw88dcrhxfylq8q2x-treefmt-check.drv building '/nix/store/vj8nmfaly3b2y5bxw88dcrhxfylq8q2x-treefmt-check.drv' treefmt-check> tribuchet: building on jamie treefmt-check> treefmt v2.5.0traversed 87 files treefmt-check> emitted 71 files for processing treefmt-check> formatted 71 files (1 changed) in 173ms treefmt-check> M nix/package.nix treefmt-check> diff --git a/nix/package.nix b/nix/package.nix treefmt-check> index dec636a..f99ff68 100644 treefmt-check> --- a/nix/package.nix treefmt-check> +++ b/nix/package.nix treefmt-check> @@ -26,9 +26,7 @@ let treefmt-check> nativeBuildInputs = [ protobuf ]; treefmt-check> PROTOC = "${protobuf}/bin/protoc"; treefmt-check> # tribuchet-sandboxd is Linux-only (user namespaces, cgroups) treefmt-check> - cargoExtraArgs = lib.optionalString ( treefmt-check> - !stdenv.isLinux treefmt-check> - ) "--workspace --exclude tribuchet-sandboxd"; treefmt-check> + cargoExtraArgs = lib.optionalString (!stdenv.isLinux) "--workspace --exclude tribuchet-sandboxd"; treefmt-check> }; treefmt-check> treefmt-check> cargoArtifacts = craneLib.buildDepsOnly commonArgs; error: Cannot build '/nix/store/vj8nmfaly3b2y5bxw88dcrhxfylq8q2x-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/d04p6myjfnj1l7pk29mhsrf8f305xm8y-treefmt-check Last 20 log lines: > tribuchet: building on jamie > treefmt v2.5.0traversed 87 files > emitted 71 files for processing > formatted 71 files (1 changed) in 173ms > M nix/package.nix > diff --git a/nix/package.nix b/nix/package.nix > index dec636a..f99ff68 100644 > --- a/nix/package.nix > +++ b/nix/package.nix > @@ -26,9 +26,7 @@ let > nativeBuildInputs = [ protobuf ]; > PROTOC = "${protobuf}/bin/protoc"; > # tribuchet-sandboxd is Linux-only (user namespaces, cgroups) > - cargoExtraArgs = lib.optionalString ( > - !stdenv.isLinux > - ) "--workspace --exclude tribuchet-sandboxd"; > + cargoExtraArgs = lib.optionalString (!stdenv.isLinux) "--workspace --exclude tribuchet-sandboxd"; > }; > > cargoArtifacts = craneLib.buildDepsOnly commonArgs; For full logs, run: nix log /nix/store/vj8nmfaly3b2y5bxw88dcrhxfylq8q2x-treefmt-check.drv