about summary refs log tree commit diff
path: root/pkgs/stdenv/native/prehook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/stdenv/native/prehook.sh')
-rw-r--r--pkgs/stdenv/native/prehook.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/stdenv/native/prehook.sh b/pkgs/stdenv/native/prehook.sh
new file mode 100644
index 0000000000000..72e9c17487025
--- /dev/null
+++ b/pkgs/stdenv/native/prehook.sh
@@ -0,0 +1,5 @@
+export SHELL=/bin/sh
+
+export NIX_CC=/usr/bin/gcc
+export NIX_CXX=/usr/bin/g++
+export NIX_LD=/usr/bin/ld