8c63762d64
- The option for cloning in nix-prefetch-bzr is removed - ssl certificates are now ignored by fetchbzr This means that no .bzr directory is downloaded. Without this change, the hash of the result is unpredictable, probably because of timestamping in the .bzr directory. Currently, the only package using fetchbzr is kicad.
9 lines
269 B
Bash
9 lines
269 B
Bash
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 -Ossl.cert_reqs=none export -r "$revision" --format=dir "$out" "$url"
|
|
|
|
stopNest
|