about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-06-18T12·35+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-06-18T12·35+0000
commitbc57eb3c8a54df819bad9c300ff5569762f15c28 (patch)
tree28b3582c35c70d85975cf8d554685102bd827979
parentfab7b128b9890cf563fa3cab5578757241902ac2 (diff)
* Set CPLUS_INCLUDE_PATH as well as C_INCLUDE_PATH. Otherwise g++
  won't see header files under Nix control.

-rw-r--r--scripts/nix-profile.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/nix-profile.sh b/scripts/nix-profile.sh
index fc5c13152030..fb526a239ef5 100644
--- a/scripts/nix-profile.sh
+++ b/scripts/nix-profile.sh
@@ -11,6 +11,7 @@ if test -z "$NIX_SET"; then
     export LIBRARY_PATH=$NIX_LINKS/lib:$LIBRARY_PATH
 
     export C_INCLUDE_PATH=$NIX_LINKS/include:$C_INCLUDE_PATH
+    export CPLUS_INCLUDE_PATH=$NIX_LINKS/include:$CPLUS_INCLUDE_PATH
 
     export PKG_CONFIG_PATH=$NIX_LINKS/lib/pkgconfig:$PKG_CONFIG_PATH