summary refs log blame commit diff
path: root/pkgs/build-support/setup-hooks/move-build-tree.sh
blob: 2718070f39338c7f17a3dd67320504f5d941f2b5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                             
prePhases+=" moveBuildDir"

moveBuildDir() {
    mkdir -p $out/.build
    cd $out/.build
}

postPhases+=" removeBuildDir"

removeBuildDir() {
    rm -rf $out/.build
}