summary refs log tree commit diff
path: root/pkgs/build-support/fetchbzr/builder.sh
blob: 163f6fc60eea3ad460c44ad713cbcbcd68087ca2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
if [ -e .attrs.sh ]; then source .attrs.sh; fi
source "$stdenv/setup"

header "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"

stopNest