summary refs log tree commit diff
path: root/pkgs/gtkspell/gtkspell-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/gtkspell/gtkspell-build.sh')
-rwxr-xr-xpkgs/gtkspell/gtkspell-build.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/gtkspell/gtkspell-build.sh b/pkgs/gtkspell/gtkspell-build.sh
index 52bf7db5204ec..514d51c9b0254 100755
--- a/pkgs/gtkspell/gtkspell-build.sh
+++ b/pkgs/gtkspell/gtkspell-build.sh
@@ -3,8 +3,7 @@
 envpkgs="$gtk $pspell"
 . $stdenv/setup || exit 1
 export PATH=$pkgconfig/bin:$PATH
-
-export C_INCLUDE_PATH=$pspell/include:$C_INCLUDE_PATH
+export NIX_CFLAGS_COMPILE="-I$pspell/include $NIX_CFLAGS_COMPILE"
 
 tar xvfz $src || exit 1
 cd gtkspell-* || exit 1