diff --git a/nix/pkgs/complement/default.nix b/nix/pkgs/complement/default.nix index 80e9ce27..399c4449 100644 --- a/nix/pkgs/complement/default.nix +++ b/nix/pkgs/complement/default.nix @@ -96,6 +96,7 @@ dockerTools.buildImage { Env = [ "SSL_CERT_FILE=/complement/ca/ca.crt" "CONDUWUIT_CONFIG=${./config.toml}" + "RUST_BACKTRACE=full" ]; ExposedPorts = { diff --git a/nix/pkgs/oci-image/default.nix b/nix/pkgs/oci-image/default.nix index 5078523b..9b641310 100644 --- a/nix/pkgs/oci-image/default.nix +++ b/nix/pkgs/oci-image/default.nix @@ -24,5 +24,8 @@ dockerTools.buildLayeredImage { Cmd = [ "${lib.getExe main}" ]; + Env = [ + "RUST_BACKTRACE=full" + ]; }; }