diff options
Diffstat (limited to 'nixpkgs/pkgs/build-support/setup-hooks/keep-build-tree.sh')
-rw-r--r-- | nixpkgs/pkgs/build-support/setup-hooks/keep-build-tree.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/build-support/setup-hooks/keep-build-tree.sh b/nixpkgs/pkgs/build-support/setup-hooks/keep-build-tree.sh new file mode 100644 index 000000000000..754900bfc337 --- /dev/null +++ b/nixpkgs/pkgs/build-support/setup-hooks/keep-build-tree.sh @@ -0,0 +1,6 @@ +prePhases+=" moveBuildDir" + +moveBuildDir() { + mkdir -p $out/.build + cd $out/.build +} |