about summary refs log tree commit diff
path: root/pkgs/development/libraries/qt-5
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2019-10-30 15:16:20 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2019-11-01 14:44:44 -0400
commit1290e532eac8f8a1815c0aedee94796509e04e3d (patch)
treeed667d82f86595ad21da2246bd6ba8e9a5254be2 /pkgs/development/libraries/qt-5
parent3835442cf0973f435b6f543977fe40b7a2b9c51c (diff)
downloadnixlib-1290e532eac8f8a1815c0aedee94796509e04e3d.tar
nixlib-1290e532eac8f8a1815c0aedee94796509e04e3d.tar.gz
nixlib-1290e532eac8f8a1815c0aedee94796509e04e3d.tar.bz2
nixlib-1290e532eac8f8a1815c0aedee94796509e04e3d.tar.lz
nixlib-1290e532eac8f8a1815c0aedee94796509e04e3d.tar.xz
nixlib-1290e532eac8f8a1815c0aedee94796509e04e3d.tar.zst
nixlib-1290e532eac8f8a1815c0aedee94796509e04e3d.zip
treewide: Make more `dont*` variables OK to be undefined in setup hooks
Diffstat (limited to 'pkgs/development/libraries/qt-5')
-rw-r--r--pkgs/development/libraries/qt-5/hooks/qtbase-setup-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/qt-5/hooks/qtbase-setup-hook.sh b/pkgs/development/libraries/qt-5/hooks/qtbase-setup-hook.sh
index 436c2e1d032a..836e154148be 100644
--- a/pkgs/development/libraries/qt-5/hooks/qtbase-setup-hook.sh
+++ b/pkgs/development/libraries/qt-5/hooks/qtbase-setup-hook.sh
@@ -61,6 +61,6 @@ postPatchMkspecs() {
         fixQtBuiltinPaths "$dev/mkspecs" '*.pr?'
     fi
 }
-if [ -z "$dontPatchMkspecs" ]; then
+if [ -z "${dontPatchMkspecs-}" ]; then
     postPhases="${postPhases}${postPhases:+ }postPatchMkspecs"
 fi