core/pkgs/build-support/setup-hooks/move-build-tree.sh
2024-05-13 11:34:52 -04:00

13 lines
167 B
Bash

prePhases+=" moveBuildDir"
moveBuildDir() {
mkdir -p $out/.build
cd $out/.build
}
postPhases+=" removeBuildDir"
removeBuildDir() {
rm -rf $out/.build
}