forked from mirrors/nixpkgs
13 lines
167 B
Bash
13 lines
167 B
Bash
prePhases+=" moveBuildDir"
|
|
|
|
moveBuildDir() {
|
|
mkdir -p $out/.build
|
|
cd $out/.build
|
|
}
|
|
|
|
postPhases+=" removeBuildDir"
|
|
|
|
removeBuildDir() {
|
|
rm -rf $out/.build
|
|
}
|