about summary refs log tree commit diff
path: root/pkgs/build-support/fetchbzr
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-03-01 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2023-03-01 04:20:00 +0000
commitb82b2b5303a25bb45432c4fe2f00961bba5e8c56 (patch)
treeffd9cb9ad2a1c5dd06c55ef5ba0a69de33a3d08f /pkgs/build-support/fetchbzr
parenta1f0f485c431434b4126419c28f25f374a95858d (diff)
fetchbzr: set cache directory to tmpdir
Breezy >3.3 writes the connections information to a cache directory,
which fails on sandbox.
Diffstat (limited to 'pkgs/build-support/fetchbzr')
-rw-r--r--pkgs/build-support/fetchbzr/builder.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchbzr/builder.sh b/pkgs/build-support/fetchbzr/builder.sh
index 380642a5e6816..991864719a073 100644
--- a/pkgs/build-support/fetchbzr/builder.sh
+++ b/pkgs/build-support/fetchbzr/builder.sh
@@ -5,4 +5,4 @@ echo "exporting \`$url' (revision $rev) into \`$out'"
 
 # Perform a lightweight checkout so that we don't end up importing
 # all the repository's history.
-BZR_LOG=/dev/null bzr -Ossl.cert_reqs=none export -r "$rev" --format=dir "$out" "$url"
+XDG_CACHE_HOME="$TMPDIR" BRZ_LOG=/dev/null bzr -Ossl.cert_reqs=none export -r "$rev" --format=dir "$out" "$url"