core/pkgs/build-support/setup-hooks/move-build-tree.sh

13 lines
167 B
Bash
Raw Normal View History

2024-05-02 00:46:19 +00:00
prePhases+=" moveBuildDir"
moveBuildDir() {
mkdir -p $out/.build
cd $out/.build
}
postPhases+=" removeBuildDir"
removeBuildDir() {
rm -rf $out/.build
}