nixpkgs-suyu/pkgs/build-support/setup-hooks/move-build-tree.sh
2023-04-14 21:08:27 +03:00

12 lines
167 B
Bash

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