git.iko.soy/typeable/nixpkgs
on master help sign in
fetch-cargo-deps: add debug output

... so that we can find out why there are sporadic hash mismatches.

commit2389a707afb9bd03501a4a9e8fc17b91eb52d962 authorRicardo M. Correia <rcorreia@wizy.org> dateMon 2 Nov 2015, 14:50 (11 years ago) parent2ede3e6
1 file changed+5
pkgs/build-support/rust/fetch-cargo-deps+5
pkgs/build-support/rust/fetch-cargo-deps+5
@@ -172,3 +172,8 @@ done)
172172# Remove unneeded outputs
173173[[ ! -d $out/registry/src ]] || rm -rf $out/registry/src
174174[[ ! -d $out/git/checkouts ]] || rm -rf $out/git/checkouts
175+
176+# XXX: provide some debugging output to see find out why we are seeing
177+# sporadic hash mismatches
178+find $out ! -type f
179+find $out -type f -exec sha256sum {} +