mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
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.
10 lines
269 B
Bash
10 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
|