summary refs log tree commit diff
path: root/pkgs/development/interpreters/python/hooks/python-imports-check-hook.sh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2019-11-25 00:23:07 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2019-11-25 00:23:07 +0000
commit6bc456c91c6a556e905852d9a13034ed1932ea3d (patch)
tree69df19159e5e7df77ae939041f8f6e941c5ef056 /pkgs/development/interpreters/python/hooks/python-imports-check-hook.sh
parentea9a2c5ec21bf088bbdef036238fa67cdc85b073 (diff)
parent4273a6adcc9327b9dc0e09e9fe205b4861c15679 (diff)
downloadnixpkgs-6bc456c91c6a556e905852d9a13034ed1932ea3d.tar
nixpkgs-6bc456c91c6a556e905852d9a13034ed1932ea3d.tar.gz
nixpkgs-6bc456c91c6a556e905852d9a13034ed1932ea3d.tar.bz2
nixpkgs-6bc456c91c6a556e905852d9a13034ed1932ea3d.tar.lz
nixpkgs-6bc456c91c6a556e905852d9a13034ed1932ea3d.tar.xz
nixpkgs-6bc456c91c6a556e905852d9a13034ed1932ea3d.tar.zst
nixpkgs-6bc456c91c6a556e905852d9a13034ed1932ea3d.zip
Merge remote-tracking branch 'upstream/master' into ghcjs-cross-without-cc
Diffstat (limited to 'pkgs/development/interpreters/python/hooks/python-imports-check-hook.sh')
-rw-r--r--pkgs/development/interpreters/python/hooks/python-imports-check-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/python/hooks/python-imports-check-hook.sh b/pkgs/development/interpreters/python/hooks/python-imports-check-hook.sh
index 7e2b3f69d6d..0fc55145a8e 100644
--- a/pkgs/development/interpreters/python/hooks/python-imports-check-hook.sh
+++ b/pkgs/development/interpreters/python/hooks/python-imports-check-hook.sh
@@ -10,7 +10,7 @@ pythonImportsCheckPhase () {
     fi
 }
 
-if [ -z "$dontUsePythonImportsCheck" ]; then
+if [ -z "${dontUsePythonImportsCheck-}" ]; then
     echo "Using pythonImportsCheckPhase"
     preDistPhases+=" pythonImportsCheckPhase"
 fi