mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
e10001042d
This makes it match the behaviour of fetchgit and fetchsvn, so it's easier to write scripts that support all of them.
10 lines
259 B
Bash
10 lines
259 B
Bash
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 -Ossl.cert_reqs=none export -r "$rev" --format=dir "$out" "$url"
|
|
|
|
stopNest
|