Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
17 lines
416 B
Bash
17 lines
416 B
Bash
# Setup hook to use in case an egg is fetched
|
|
echo "Sourcing egg setup hook"
|
|
|
|
eggUnpackPhase() {
|
|
echo "Executing eggUnpackPhase"
|
|
runHook preUnpack
|
|
|
|
cp "$src" "$(stripHash "$src")"
|
|
|
|
# runHook postUnpack # Calls find...?
|
|
echo "Finished executing eggUnpackPhase"
|
|
}
|
|
|
|
if [ -z "${dontUseEggUnpack-}" ] && [ -z "${unpackPhase-}" ]; then
|
|
echo "Using eggUnpackPhase"
|
|
unpackPhase=eggUnpackPhase
|
|
fi
|