diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-04-15 00:02:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-15 00:02:38 +0000 |
commit | 5f6ff7e8cf8d915eca2b6235ad3f6e85a94e5ee2 (patch) | |
tree | ac50c54e7b1eb85043eef337c68f2e99859562e8 /pkgs/build-support | |
parent | bf0d2694552f26ef049106f81df912faab185ab9 (diff) | |
parent | 42605fe1f7993b6c23bc6f91e0fec8155571e27a (diff) | |
download | nixpkgs-5f6ff7e8cf8d915eca2b6235ad3f6e85a94e5ee2.tar nixpkgs-5f6ff7e8cf8d915eca2b6235ad3f6e85a94e5ee2.tar.gz nixpkgs-5f6ff7e8cf8d915eca2b6235ad3f6e85a94e5ee2.tar.bz2 nixpkgs-5f6ff7e8cf8d915eca2b6235ad3f6e85a94e5ee2.tar.lz nixpkgs-5f6ff7e8cf8d915eca2b6235ad3f6e85a94e5ee2.tar.xz nixpkgs-5f6ff7e8cf8d915eca2b6235ad3f6e85a94e5ee2.tar.zst nixpkgs-5f6ff7e8cf8d915eca2b6235ad3f6e85a94e5ee2.zip |
Merge staging-next into staging
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/setup-hooks/move-build-tree.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/build-support/setup-hooks/move-build-tree.sh b/pkgs/build-support/setup-hooks/move-build-tree.sh new file mode 100644 index 00000000000..2718070f393 --- /dev/null +++ b/pkgs/build-support/setup-hooks/move-build-tree.sh @@ -0,0 +1,12 @@ +prePhases+=" moveBuildDir" + +moveBuildDir() { + mkdir -p $out/.build + cd $out/.build +} + +postPhases+=" removeBuildDir" + +removeBuildDir() { + rm -rf $out/.build +} |