nixpkgs-suyu/pkgs/build-support/fetchbzr/builder.sh

10 lines
251 B
Bash
Raw Normal View History

source "$stdenv/setup"
header "exporting \`$url' (revision $revision) into \`$out'"
# Perform a lightweight checkout so that we don't end up importing
# all the repository's history.
bzr checkout --lightweight "$url" -r "$revision" "$out"
stopNest