From 205a6b894d91310ac144474334da2ec90e710489 Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Tue, 21 Jul 2015 21:07:04 +0200 Subject: [PATCH] cargo: workaround frequent hash mismatches due to #8567 For now, let's remove `leaveDotGit`. The only visible effect I could see was that `cargo --version` won't report the git commit anymore, but that's only a minor issue compared to the build breaking often. Fixes #8566 and closes #8862. --- pkgs/development/tools/build-managers/cargo/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/development/tools/build-managers/cargo/default.nix b/pkgs/development/tools/build-managers/cargo/default.nix index d849ad5de944..9ffc9b0cbb99 100644 --- a/pkgs/development/tools/build-managers/cargo/default.nix +++ b/pkgs/development/tools/build-managers/cargo/default.nix @@ -11,8 +11,7 @@ buildRustPackage rec { src = fetchgit { url = "https://github.com/rust-lang/cargo.git"; rev = "refs/tags/0.3.0"; - sha256 = "1ckb2xd7nm8357imw6b1ci2ar8grnihzan94kvmjrijq6sz8yv9i"; - leaveDotGit = true; + sha256 = "0p7p7yivydjkpqb53a8i7pjl719z3gxa6czi0255ccwsh6n9z793"; }; depsSha256 = "1sgdr2akd9xrfmf5g0lbf842b2pdj1ymxk37my0cf2x349rjsf0w";