Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cargo build yields a sha256 mismatch #8566

Closed
ghost opened this issue Jun 30, 2015 · 3 comments
Closed

Cargo build yields a sha256 mismatch #8566

ghost opened this issue Jun 30, 2015 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 30, 2015

Using:

$ nix-shell -p cargo

I get the following:

output path ‘/nix/store/qmp7gabngcaqvndl5andafpvispi90mb-cargo-d814fcb’ should have r:sha256 hash ‘0sppd3x2cacmbnypcjip44amnh66lrrbwwzsbz8rqf3nq2ah496x’, instead has ‘1c9h5qiwfq0f7z9rpfkl23il4qlfm6bk97c78gk7ish6gsy9c1d7’
cannot build derivation ‘/nix/store/bcin2sfxmgjm3f8j9jxkcpykihcclj18-cargo-2015-05-13.drv’: 1 dependencies couldn't be built

Nix 1.9 on Ubuntu.

CC maintainer @wizeman

@andrewrk
Copy link
Member

Just got the same thing on nixos:

 97 41.2M   97 40.1M    0     0  3017k      0  0:00:14  0:00:13  0:00:01 3012koutput path ‘/nix/store/qmp7gabngcaqvndl5andafpvispi90mb-cargo-d814fcb’ should have r:sha256 hash ‘0sppd3x2cacmbnypcjip44amnh66lrrbwwzsbz8rqf3nq2ah496x’, instead has ‘1c9h5qiwfq0f7z9rpfkl23il4qlfm6bk97c78gk7ish6gsy9c1d7’

version 15.06pre64423.4e5e441 (Dingo) attempting to upgrade to nixos-15.06pre65267.6ad8fab

@globin
Copy link
Member

globin commented Jul 16, 2015

I have another different hash:
053rvkjqn9ry2hqryy05kqps6i73wg126a3dvschzgkym09kr1r6

globin added a commit to mayflower/nixpkgs that referenced this issue Jul 16, 2015
@globin globin mentioned this issue Jul 16, 2015
@wizeman
Copy link
Member

wizeman commented Jul 21, 2015

See #8862. I think the best fix for now is to remove leaveDotGit, since it's causing lots of hash mismatches and it doesn't seem to be needed for anything too important. I will fix it ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants