pythonPackages.pipBuildHook: fix unbound variable

for compatibility with set -u
This commit is contained in:
Jan Tojnar 2019-11-20 05:05:59 +01:00
parent 7429f5fe9b
commit ae465621ff
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -36,7 +36,7 @@ if [ -z "${dontUsePipBuild-}" ] && [ -z "${buildPhase-}" ]; then
buildPhase=pipBuildPhase
fi
if [ -z "$shellHook" ]; then
if [ -z "${shellHook-}" ]; then
echo "Using pipShellHook"
shellHook=pipShellHook
fi