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 13:43:39 +02:00
prePhases+=" moveBuildDir"
moveBuildDir() {
mkdir -p $out/.build
cd $out/.build
}
postPhases+=" removeBuildDir"
removeBuildDir() {
rm -rf $out/.build
}