git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #10794 from wizeman/u/upd-rustfmt

rustfmt: 2015-10-17 -> 2015-10-28

commit7ae05edcdd14f6ace83ead9bf0d114e97c89a83a authorRicardo M. Correia <rcorreia@wizy.org> dateMon 2 Nov 2015, 17:12 (11 years ago) parent2d027272389a70
2 files changed+11−6
pkgs/build-support/rust/fetch-cargo-deps+5 pkgs/development/tools/rust/rustfmt/default.nix+6−6
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 {} +
pkgs/development/tools/rust/rustfmt/default.nix+6−6
@@ -1,17 +1,17 @@
1−{ stdenv, fetchFromGitHub, rustUnstable, makeWrapper }:
1+{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper }:
22
3−with rustUnstable;
3+with rustPlatform;
44
55buildRustPackage rec {
6− name = "rustfmt-git-2015-10-17";
6+ name = "rustfmt-git-2015-10-28";
77 src = fetchFromGitHub {
88 owner = "nrc";
99 repo = "rustfmt";
10− rev = "36c9a3acf95a036f3f9fa72ff3fe175fba55e20b";
11− sha256 = "1vjnfq3al73qljalr2rvymabcksx6y690gg5r9kgz1lnizlb7yrz";
10+ rev = "bd0fdbb364ba69c69b867f96bc1ea9b59177fb76";
11+ sha256 = "07yxz409yxgwrzm46fhq6kyn9igznb7481kxyk90ngmhdd0a5mfd";
1212 };
1313
14− depsSha256 = "0vzpq58vfswdwdm2bk44ynk43cmwdxppcbkvpjyfa6sjs2s5x8n9";
14+ depsSha256 = "0qs6ilpvcrvcmxg7a94rbg9rql1hxfljy6gxrvpn59dy8hb1qccb";
1515
1616 meta = with stdenv.lib; {
1717 description = "A tool for formatting Rust code according to style guidelines";