about summary refs log tree commit diff
path: root/pkgs/development/interpreters/python/hooks/pytest-check-hook.sh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2019-10-31 17:59:18 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2019-11-01 14:44:44 -0400
commitb7f4bda2827e4adc76dd30d6fd5257ed4f49b21d (patch)
treea304936e553f074a31d1ac18f190a8c9beace795 /pkgs/development/interpreters/python/hooks/pytest-check-hook.sh
parent7eecf4f8fb288dcc4a32595036421bfcc38699e6 (diff)
downloadnixlib-b7f4bda2827e4adc76dd30d6fd5257ed4f49b21d.tar
nixlib-b7f4bda2827e4adc76dd30d6fd5257ed4f49b21d.tar.gz
nixlib-b7f4bda2827e4adc76dd30d6fd5257ed4f49b21d.tar.bz2
nixlib-b7f4bda2827e4adc76dd30d6fd5257ed4f49b21d.tar.lz
nixlib-b7f4bda2827e4adc76dd30d6fd5257ed4f49b21d.tar.xz
nixlib-b7f4bda2827e4adc76dd30d6fd5257ed4f49b21d.tar.zst
nixlib-b7f4bda2827e4adc76dd30d6fd5257ed4f49b21d.zip
treewide: `*Phase(s)?` variables are optional
If these aren't defined, the stdenv defaults are used in the `*Phase`
case, or no extra phases are done, in the `*Phases` case.
Diffstat (limited to 'pkgs/development/interpreters/python/hooks/pytest-check-hook.sh')
-rw-r--r--pkgs/development/interpreters/python/hooks/pytest-check-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/python/hooks/pytest-check-hook.sh b/pkgs/development/interpreters/python/hooks/pytest-check-hook.sh
index 9065b69fc09c..18f05b6d218c 100644
--- a/pkgs/development/interpreters/python/hooks/pytest-check-hook.sh
+++ b/pkgs/development/interpreters/python/hooks/pytest-check-hook.sh
@@ -43,7 +43,7 @@ function pytestCheckPhase() {
     echo "Finished executing pytestCheckPhase"
 }
 
-if [ -z "${dontUsePytestCheck-}" ] && [ -z "$installCheckPhase" ]; then
+if [ -z "${dontUsePytestCheck-}" ] && [ -z "${installCheckPhase-}" ]; then
     echo "Using pytestCheckPhase"
     preDistPhases+=" pytestCheckPhase"
 fi