summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/qt-4/setup-hook.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/libraries/qt-4/setup-hook.sh b/pkgs/development/libraries/qt-4/setup-hook.sh
index 6e0bbfe7f45..f9ecacbbb7d 100644
--- a/pkgs/development/libraries/qt-4/setup-hook.sh
+++ b/pkgs/development/libraries/qt-4/setup-hook.sh
@@ -1,9 +1,8 @@
 export QTDIR=@out@
 
-if [ -z "$normalQt" ]; then
+if [ -n "$includeAllQtDirs" ]; then
   # This helps for g++, but not for moc. And no qt4 package should expect
-  # having all qt4 header files dirs into -I. But the KDE nix expressions want
-  # this.
+  # having all qt4 header files dirs into -I.
   for d in @out@/include/*; do
       export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$d"
   done