Fix running preHook

Accidentally (?) lost in e3875297fa.
This commit is contained in:
Eelco Dolstra 2014-11-06 11:26:09 +01:00
parent f01ecbee50
commit 8e9e4b05f7

View file

@ -181,6 +181,7 @@ if [ -z "$SHELL" ]; then echo "SHELL not set"; exit 1; fi
# Execute the pre-hook.
export CONFIG_SHELL="$SHELL"
if [ -z "$shell" ]; then export shell=$SHELL; fi
runHook preHook
# Allow the caller to augment buildInputs (it's not always possible to