always set RUST_BACKTRACE=full in OCI images

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-11-02 13:12:14 -04:00
parent 240c78e810
commit 6cbaef2d12
2 changed files with 4 additions and 0 deletions

View file

@ -96,6 +96,7 @@ dockerTools.buildImage {
Env = [ Env = [
"SSL_CERT_FILE=/complement/ca/ca.crt" "SSL_CERT_FILE=/complement/ca/ca.crt"
"CONDUWUIT_CONFIG=${./config.toml}" "CONDUWUIT_CONFIG=${./config.toml}"
"RUST_BACKTRACE=full"
]; ];
ExposedPorts = { ExposedPorts = {

View file

@ -24,5 +24,8 @@ dockerTools.buildLayeredImage {
Cmd = [ Cmd = [
"${lib.getExe main}" "${lib.getExe main}"
]; ];
Env = [
"RUST_BACKTRACE=full"
];
}; };
} }