about summary refs log tree commit diff
path: root/pkgs/build-support/rust/rustc-wrapper/rustc-wrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/rust/rustc-wrapper/rustc-wrapper.sh')
-rw-r--r--pkgs/build-support/rust/rustc-wrapper/rustc-wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/rust/rustc-wrapper/rustc-wrapper.sh b/pkgs/build-support/rust/rustc-wrapper/rustc-wrapper.sh
index 4a90e30652fea..63e18be2e1310 100644
--- a/pkgs/build-support/rust/rustc-wrapper/rustc-wrapper.sh
+++ b/pkgs/build-support/rust/rustc-wrapper/rustc-wrapper.sh
@@ -13,7 +13,7 @@ for arg; do
     esac
 done
 
-extraBefore=("${defaultSysroot[@]}")
+extraBefore=(@defaultArgs@ "${defaultSysroot[@]}")
 extraAfter=($NIX_RUSTFLAGS)
 
 # Optionally print debug info.