Skip to content

Cargo build yields a sha256 mismatch #8566

Closed

Description

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

Activity

  1. andrewrk commented on Jul 15, 2015

    @andrewrk
    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

  2. globin commented on Jul 16, 2015

    @globin
    Member

    I have another different hash:
    053rvkjqn9ry2hqryy05kqps6i73wg126a3dvschzgkym09kr1r6

  3. added 5 commits that reference this issue on Jul 16, 2015
    8fe069b
  4. wizeman commented on Jul 21, 2015

    @wizeman
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions