diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2014-06-12 09:15:11 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2014-06-12 09:15:11 +0200 |
commit | de12094b0e97e36485a26abce86a014d4bddd0de (patch) | |
tree | dd9db99a798674258d2f46a6068b910505fa6069 /pkgs/build-support/fetchbzr/nix-prefetch-bzr | |
parent | e4dc3f8ae3665f005b241edee76bfbcde7c1b1c1 (diff) | |
parent | af3d448d335cd22355b6b84857520cfa5cfb380e (diff) | |
download | nixlib-de12094b0e97e36485a26abce86a014d4bddd0de.tar nixlib-de12094b0e97e36485a26abce86a014d4bddd0de.tar.gz nixlib-de12094b0e97e36485a26abce86a014d4bddd0de.tar.bz2 nixlib-de12094b0e97e36485a26abce86a014d4bddd0de.tar.lz nixlib-de12094b0e97e36485a26abce86a014d4bddd0de.tar.xz nixlib-de12094b0e97e36485a26abce86a014d4bddd0de.tar.zst nixlib-de12094b0e97e36485a26abce86a014d4bddd0de.zip |
Merge recent master
Diffstat (limited to 'pkgs/build-support/fetchbzr/nix-prefetch-bzr')
-rwxr-xr-x | pkgs/build-support/fetchbzr/nix-prefetch-bzr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/fetchbzr/nix-prefetch-bzr b/pkgs/build-support/fetchbzr/nix-prefetch-bzr index 9ff86c20ae3f..2f46819323f2 100755 --- a/pkgs/build-support/fetchbzr/nix-prefetch-bzr +++ b/pkgs/build-support/fetchbzr/nix-prefetch-bzr @@ -52,6 +52,8 @@ if test -z "$finalPath"; then # Perform the checkout. bzr -Ossl.cert_reqs=none export $revarg --format=dir "$tmpFile" "$url" + echo "bzr revision is $(bzr revno $revarg "$url")" + # Compute the hash. hash=$(nix-hash --type $hashType $hashFormat $tmpFile) if ! test -n "$QUIET"; then echo "hash is $hash" >&2; fi |