Skip to content

Commit

Permalink
cargo: Fix src hash
Browse files Browse the repository at this point in the history
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...
  • Loading branch information
wizeman committed May 19, 2015
1 parent e2cc634 commit de322b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/tools/build-managers/cargo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildRustPackage rec {
src = fetchgit {
url = "https://github.com/rust-lang/cargo.git";
rev = "d814fcbf8efda3027d54c09e11aa7eaf0006a83c";
sha256 = "1hvsxjv9s30qylcq2vb2nqqn8fix4sk0ah718f8c0flrcqbwa58z";
sha256 = "0sppd3x2cacmbnypcjip44amnh66lrrbwwzsbz8rqf3nq2ah496x";
leaveDotGit = true;
};

Expand Down

0 comments on commit de322b4

Please sign in to comment.