* Some variables to make it easier to inject additional phases.

svn path=/nixpkgs/branches/stdenv-updates/; revision=11221
This commit is contained in:
Eelco Dolstra 2008-03-20 10:59:47 +00:00
parent 9bddb8a172
commit 4195c1522f

View File

@ -808,8 +808,10 @@ genericBuild() {
fi
if test -z "$phases"; then
phases="unpackPhase patchPhase configurePhase buildPhase checkPhase \
installPhase fixupPhase distPhase $extraPhases";
phases="$prePhases unpackPhase patchPhase $preConfigurePhases \
configurePhase $preBuildPhases buildPhase checkPhase \
$preInstallPhases installPhase fixupPhase \
$preDistPhases distPhase $postPhases";
fi
for curPhase in $phases; do