mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
16 lines
333 B
Bash
16 lines
333 B
Bash
# Setup hook to use for eggs
|
|
echo "Sourcing egg-build-hook"
|
|
|
|
eggBuildPhase() {
|
|
echo "Executing eggBuildPhase"
|
|
runHook preBuild
|
|
|
|
runHook postBuild
|
|
echo "Finished executing eggBuildPhase"
|
|
}
|
|
|
|
if [ -z "${dontUseEggBuild-}" ] && [ -z "${buildPhase-}" ]; then
|
|
echo "Using eggBuildPhase"
|
|
buildPhase=eggBuildPhase
|
|
fi
|