diff options
Diffstat (limited to 'tvix')
-rw-r--r-- | tvix/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tvix/default.nix b/tvix/default.nix index 0d833eb1e50a..f8aa47a108c5 100644 --- a/tvix/default.nix +++ b/tvix/default.nix @@ -73,8 +73,11 @@ in cargo metadata > /dev/null ${pkgs.crate2nix}/bin/crate2nix generate --all-features - # Reuse depotfmt wrapper that can be used inside a sandbox. - ${depot.tools.depotfmt.check} Cargo.nix + ${pkgs.treefmt}/bin/treefmt Cargo.nix \ + --no-cache \ + --on-unmatched=debug \ + --config-file=${depot.tools.depotfmt.config} \ + --tree-root=. # technically unnecessary, but provides more-helpful output in case of error diff -ur Cargo.nix ${src}/Cargo.nix |