From de322b48b7006cf72d6adc37a833f2e045950536 Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Tue, 19 May 2015 17:30:19 +0200 Subject: [PATCH] cargo: Fix src hash It seems that when you pass `leaveDotGit = true` to `fetchgit`, sometimes the output can still change (i.e. it's not completely deterministic). This could be due to changes in the upstream git repository... --- pkgs/development/tools/build-managers/cargo/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/build-managers/cargo/default.nix b/pkgs/development/tools/build-managers/cargo/default.nix index f7dd77a12a71a..3ac6e1c3e94c6 100644 --- a/pkgs/development/tools/build-managers/cargo/default.nix +++ b/pkgs/development/tools/build-managers/cargo/default.nix @@ -11,7 +11,7 @@ buildRustPackage rec { src = fetchgit { url = "https://github.com/rust-lang/cargo.git"; rev = "d814fcbf8efda3027d54c09e11aa7eaf0006a83c"; - sha256 = "1hvsxjv9s30qylcq2vb2nqqn8fix4sk0ah718f8c0flrcqbwa58z"; + sha256 = "0sppd3x2cacmbnypcjip44amnh66lrrbwwzsbz8rqf3nq2ah496x"; leaveDotGit = true; };