2023-01-20 10:41:00 +00:00
|
|
|
if [ -e .attrs.sh ]; then source .attrs.sh; fi
|
2020-04-24 23:36:52 +00:00
|
|
|
source "$stdenv/setup"
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
echo "exporting \`$url' (revision $rev) into \`$out'"
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# Perform a lightweight checkout so that we don't end up importing
|
|
|
|
# all the repository's history.
|
2023-03-04 12:14:45 +00:00
|
|
|
XDG_CACHE_HOME="$TMPDIR" BRZ_LOG=/dev/null bzr -Ossl.cert_reqs=none export -r "$rev" --format=dir "$out" "$url"
|