From dd6e5bd2f492c8f710f569fe1d17c9cffb2b0821 Mon Sep 17 00:00:00 2001 From: Chris Pick Date: Thu, 10 Jul 2025 13:40:50 -0400 Subject: [PATCH] Unset `$RUST_BACKTRACE` in nixShell Prevent printing two backtraces. env-bootstrap/src/lib.rs's `register_panic_hook()` already prints a backtrace unconditionally, setting `RUST_BACKTRACE=1` causes a duplicate to be printed. --- nix/flake.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/nix/flake.nix b/nix/flake.nix index e335ad648..0dfbb39c4 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -235,7 +235,6 @@ ]); LD_LIBRARY_PATH = libPath; - RUST_BACKTRACE = 1; }; formatter = pkgs.nixfmt-rfc-style;