summary refs log tree commit diff
path: root/pkgs/build-support/fetchbzr/builder.sh
diff options
context:
space:
mode:
authorMichael Ashton <data@gtf.org>2013-03-31 19:00:50 -0700
committerMichael Ashton <data@gtf.org>2013-03-31 19:16:18 -0700
commit8c63762d643e371d892fbd6a264e8057c880e60d (patch)
tree943c033a3c278a67bec143594d1521ae18306c3d /pkgs/build-support/fetchbzr/builder.sh
parent98ba667094f3395cd0e4999693541285ed5e0478 (diff)
downloadnixlib-8c63762d643e371d892fbd6a264e8057c880e60d.tar
nixlib-8c63762d643e371d892fbd6a264e8057c880e60d.tar.gz
nixlib-8c63762d643e371d892fbd6a264e8057c880e60d.tar.bz2
nixlib-8c63762d643e371d892fbd6a264e8057c880e60d.tar.lz
nixlib-8c63762d643e371d892fbd6a264e8057c880e60d.tar.xz
nixlib-8c63762d643e371d892fbd6a264e8057c880e60d.tar.zst
nixlib-8c63762d643e371d892fbd6a264e8057c880e60d.zip
- fetchbzr and nix-prefetch-bzr now only export, instead of cloning
- 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.
Diffstat (limited to 'pkgs/build-support/fetchbzr/builder.sh')
-rw-r--r--pkgs/build-support/fetchbzr/builder.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchbzr/builder.sh b/pkgs/build-support/fetchbzr/builder.sh
index 88aab7891b48..17567fdadd23 100644
--- a/pkgs/build-support/fetchbzr/builder.sh
+++ b/pkgs/build-support/fetchbzr/builder.sh
@@ -4,6 +4,6 @@ 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"
+bzr -Ossl.cert_reqs=none export -r "$revision" --format=dir "$out" "$url"
 
 stopNest