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

hash mismatch after flake update #1034

Open
ydewit opened this issue Aug 8, 2024 · 5 comments
Open

hash mismatch after flake update #1034

ydewit opened this issue Aug 8, 2024 · 5 comments

Comments

@ydewit
Copy link

ydewit commented Aug 8, 2024

I had a working nix-darwing flake config.

Then I ran:

nix flake update
darwin-rebuild switch --flake .

And I then started getting:

error: hash mismatch in fixed-output derivation '/nix/store/yaaf6yx9d3z5ym19j2pf9zkrizhirvqr-source.drv':
         specified: sha256-idQB8Wqw7lvU192y7+UgFvcwlmY71/mu9jJ4hRc4ud4=
            got:    sha256-ZURUEd7TokBIVVejRoBiXMQ1XwUEgMnzOhQiV+Tdpk0=

Not sure how to get out of this rut.

@NPM8
Copy link

NPM8 commented Aug 12, 2024

I also have very similar issue, for last 1 week.

@Enzime
Copy link
Collaborator

Enzime commented Aug 12, 2024

What version of Nix are you using? Also could you run the build with --show-trace?

@pperanich
Copy link

This occurs for me after a nix flake update as well.

@pperanich
Copy link

Originates from NixOS/nixpkgs#332824

@jakemassoth
Copy link

perhaps something upstream got fixed as I just update my flake this morning and now I am not having this issue on macos anymore.

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

No branches or pull requests

5 participants