about summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2022-07-21 13:09:19 -0400
committerGitHub <noreply@github.com>2022-07-21 13:09:19 -0400
commitc38de9b3f21a412bda1b3768bcb9efa1c0ceb195 (patch)
tree26bbf094199c00eabf998cfb12fd8bb97c9238e9 /pkgs/build-support
parent1136a4b3df2f90db55a072ab0dbde9c9979b286f (diff)
parentd7fff81159bc2fd18159eec60f253002f4de7e29 (diff)
Merge pull request #181525 from alyssais/rust-debug
separateDebugInfo: enable full Rust debug info
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/setup-hooks/separate-debug-info.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/setup-hooks/separate-debug-info.sh b/pkgs/build-support/setup-hooks/separate-debug-info.sh
index 1a23e6b198ee0..593a5f64862de 100644
--- a/pkgs/build-support/setup-hooks/separate-debug-info.sh
+++ b/pkgs/build-support/setup-hooks/separate-debug-info.sh
@@ -1,6 +1,7 @@
 export NIX_SET_BUILD_ID=1
 export NIX_LDFLAGS+=" --compress-debug-sections=zlib"
 export NIX_CFLAGS_COMPILE+=" -ggdb -Wa,--compress-debug-sections"
+export RUSTFLAGS+=" -g"
 dontStrip=1
 
 fixupOutputHooks+=(_separateDebugInfo)