depot/third_party/nixpkgs/pkgs/build-support/setup-hooks/keep-build-tree.sh

7 lines
91 B
Bash
Raw Normal View History

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