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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
167 B
Bash
Raw Normal View History

2023-04-14 11:43:39 +00:00
prePhases+=" moveBuildDir"
moveBuildDir() {
mkdir -p $out/.build
cd $out/.build
}
postPhases+=" removeBuildDir"
removeBuildDir() {
rm -rf $out/.build
}