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