about summary refs log tree commit diff
path: root/scripts/nix-profile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/nix-profile.sh')
-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