this derivation will be built: /nix/store/1adbxzwkvh1z6q95xb6rhjn57k4gs84y-treefmt-check.drv building '/nix/store/1adbxzwkvh1z6q95xb6rhjn57k4gs84y-treefmt-check.drv' treefmt-check> tribuchet: building on eliza treefmt-check> treefmt v2.5.0traversed 63 files treefmt-check> emitted 40 files for processing treefmt-check> formatted 40 files (1 changed) in 108ms treefmt-check> M shells.nix treefmt-check> diff --git a/shells.nix b/shells.nix treefmt-check> index 12d20f1..3f872f4 100644 treefmt-check> --- a/shells.nix treefmt-check> +++ b/shells.nix treefmt-check> @@ -219,8 +219,12 @@ treefmt-check> TC_RELR = mkRelr; treefmt-check> TC_GNU_PROPERTY = mkGnuProperty; treefmt-check> TC_TLS = mkCFlags stdenv "tls" "$CC -O2 ${./tests/sample_tls.c} -o hello"; treefmt-check> - TC_STATIC_PIE = mkCFlags pkgsMusl.stdenv "static-pie" "$CC -static-pie -fPIE ${./tests/sample.c} -o hello"; treefmt-check> - TC_MANY_NEEDED = mkCFlags stdenv "many-needed" "$CC -Wl,--no-as-needed ${./tests/sample.c} -lm -ldl -lpthread -lrt -o hello"; treefmt-check> + TC_STATIC_PIE = treefmt-check> + mkCFlags pkgsMusl.stdenv "static-pie" treefmt-check> + "$CC -static-pie -fPIE ${./tests/sample.c} -o hello"; treefmt-check> + TC_MANY_NEEDED = treefmt-check> + mkCFlags stdenv "many-needed" treefmt-check> + "$CC -Wl,--no-as-needed ${./tests/sample.c} -lm -ldl -lpthread -lrt -o hello"; treefmt-check> TC_FORTRAN = mkLang "fortran" gfortran "gfortran ${./tests/sample.f90} -o hello"; treefmt-check> TC_D = mkLang "d" ldc '' treefmt-check> cp ${./tests/sample.d} sample.d error: Cannot build '/nix/store/1adbxzwkvh1z6q95xb6rhjn57k4gs84y-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/nxjd2wl2b73bacf8pz9aycpi9yjf2h38-treefmt-check Last 24 log lines: > tribuchet: building on eliza > treefmt v2.5.0traversed 63 files > emitted 40 files for processing > formatted 40 files (1 changed) in 108ms > M shells.nix > diff --git a/shells.nix b/shells.nix > index 12d20f1..3f872f4 100644 > --- a/shells.nix > +++ b/shells.nix > @@ -219,8 +219,12 @@ > TC_RELR = mkRelr; > TC_GNU_PROPERTY = mkGnuProperty; > TC_TLS = mkCFlags stdenv "tls" "$CC -O2 ${./tests/sample_tls.c} -o hello"; > - TC_STATIC_PIE = mkCFlags pkgsMusl.stdenv "static-pie" "$CC -static-pie -fPIE ${./tests/sample.c} -o hello"; > - TC_MANY_NEEDED = mkCFlags stdenv "many-needed" "$CC -Wl,--no-as-needed ${./tests/sample.c} -lm -ldl -lpthread -lrt -o hello"; > + TC_STATIC_PIE = > + mkCFlags pkgsMusl.stdenv "static-pie" > + "$CC -static-pie -fPIE ${./tests/sample.c} -o hello"; > + TC_MANY_NEEDED = > + mkCFlags stdenv "many-needed" > + "$CC -Wl,--no-as-needed ${./tests/sample.c} -lm -ldl -lpthread -lrt -o hello"; > TC_FORTRAN = mkLang "fortran" gfortran "gfortran ${./tests/sample.f90} -o hello"; > TC_D = mkLang "d" ldc '' > cp ${./tests/sample.d} sample.d For full logs, run: nix log /nix/store/1adbxzwkvh1z6q95xb6rhjn57k4gs84y-treefmt-check.drv