diff --git a/pkgs/development/libraries/qt-4/setup-hook.sh b/pkgs/development/libraries/qt-4/setup-hook.sh index 36dfabb942c7..15a4ddcf8d1b 100644 --- a/pkgs/development/libraries/qt-4/setup-hook.sh +++ b/pkgs/development/libraries/qt-4/setup-hook.sh @@ -1,6 +1,6 @@ export QTDIR=@out@ -if [ -n $qt4BadIncludes ]; then +if [ -n "$qt4BadIncludes" ]; then for d in @out@/include/*; do export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$d"; done;