pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / build-support / fetchbzr / builder.sh
blob4515e0e82f4973bd6a3616f7e26c46424eb7128e
1 if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh ]; then . .attrs.sh; fi
2 source "$stdenv/setup"
4 echo "exporting \`$url' (revision $rev) into \`$out'"
6 # Perform a lightweight checkout so that we don't end up importing
7 # all the repository's history.
8 XDG_CACHE_HOME="$TMPDIR" BRZ_LOG=/dev/null bzr -Ossl.cert_reqs=none export -r "$rev" --format=dir "$out" "$url"