diff options
Diffstat (limited to 'pkgs/development/interpreters/python/hooks/pip-build-hook.sh')
-rw-r--r-- | pkgs/development/interpreters/python/hooks/pip-build-hook.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/interpreters/python/hooks/pip-build-hook.sh b/pkgs/development/interpreters/python/hooks/pip-build-hook.sh index 6796d3efd0a..292f13d3015 100644 --- a/pkgs/development/interpreters/python/hooks/pip-build-hook.sh +++ b/pkgs/development/interpreters/python/hooks/pip-build-hook.sh @@ -7,7 +7,7 @@ pipBuildPhase() { mkdir -p dist echo "Creating a wheel..." - @pythonInterpreter@ -m pip wheel --no-index --no-deps --no-clean --no-build-isolation --wheel-dir dist "$options" . + @pythonInterpreter@ -m pip wheel --no-index --no-deps --no-clean --no-build-isolation --wheel-dir dist . echo "Finished creating a wheel..." runHook postBuild @@ -31,12 +31,12 @@ pipShellHook() { echo "Finished executing pipShellHook" } -if [ -z "$dontUsePipBuild" ] && [ -z "$buildPhase" ]; then +if [ -z "${dontUsePipBuild-}" ] && [ -z "${buildPhase-}" ]; then echo "Using pipBuildPhase" buildPhase=pipBuildPhase fi -if [ -z "$shellHook" ]; then +if [ -z "${shellHook-}" ]; then echo "Using pipShellHook" shellHook=pipShellHook fi |