From 2389a707afb9bd03501a4a9e8fc17b91eb52d962 Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Mon, 2 Nov 2015 14:50:14 +0100 Subject: [PATCH] fetch-cargo-deps: add debug output ... so that we can find out why there are sporadic hash mismatches. --- pkgs/build-support/rust/fetch-cargo-deps | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/build-support/rust/fetch-cargo-deps b/pkgs/build-support/rust/fetch-cargo-deps index 04d33c60d30e..b119be273ba1 100755 --- a/pkgs/build-support/rust/fetch-cargo-deps +++ b/pkgs/build-support/rust/fetch-cargo-deps @@ -172,3 +172,8 @@ done) # Remove unneeded outputs [[ ! -d $out/registry/src ]] || rm -rf $out/registry/src [[ ! -d $out/git/checkouts ]] || rm -rf $out/git/checkouts + +# XXX: provide some debugging output to see find out why we are seeing +# sporadic hash mismatches +find $out ! -type f +find $out -type f -exec sha256sum {} +