this derivation will be built: /nix/store/3p4svgbv8x81whbbnc9dnj9x05k76ph7-treefmt.drv error: build of '/nix/store/3p4svgbv8x81whbbnc9dnj9x05k76ph7-treefmt.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/3p4svgbv8x81whbbnc9dnj9x05k76ph7-treefmt.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/p8738wlcpphqlh5cb9dmfkf72ghvq2ng-treefmt Last 14 log lines: > ERRO formatter | nix: failed to apply with options '[]': exit status 1 > > nixfmt: lib/types: openTempFileWithDefaultPermissions: permission denied (Permission denied) > HasCallStack backtrace: > collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in ghc-internal:GHC.Internal.Exception > toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.IO > throwIO, called at libraries/ghc-internal/src/GHC/Internal/Control/Exception/Base.hs:195:43 in ghc-internal:GHC.Internal.Control.Exception.Base > > > > traversed 151 files > emitted 121 files for processing > formatted 0 files (0 changed) in 521ms > Error: failed to finalise formatting: formatting failures detected For full logs, run: nix log /nix/store/3p4svgbv8x81whbbnc9dnj9x05k76ph7-treefmt.drv error: Cannot build '/nix/store/3p4svgbv8x81whbbnc9dnj9x05k76ph7-treefmt.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/p8738wlcpphqlh5cb9dmfkf72ghvq2ng-treefmt