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

Upstream files changed? #70

Open
dpc opened this issue Sep 7, 2023 · 2 comments
Open

Upstream files changed? #70

dpc opened this issue Sep 7, 2023 · 2 comments

Comments

@dpc
Copy link

dpc commented Sep 7, 2023

error: hash mismatch in fixed-output derivation '/nix/store/w7hmkcv8n8rf8iyq9y5mgjy4ywfix0bd-arm64-v8a-32_r06.zip.drv':
         specified: sha1-9kVG98/NdR2JyLd5nURGdrIXxiM=
            got:    sha1-npfX7NW2y52RQby6rsE0ggrFaeE=
> nix-hash --to-base16 sha1-9kVG98/NdR2JyLd5nURGdrIXxiM=
f64546f7cfcd751d89c8b7799d444676b217c623

I think it's the second time I'm seeing this happen. What are the reasons these files change? Is it expected and something we have to live with?

dpc added a commit to dpc/android-nixpkgs that referenced this issue Sep 7, 2023
dpc added a commit to dpc/android-nixpkgs that referenced this issue Sep 7, 2023
@tadfisher
Copy link
Owner

No, this isn't expected, and it sucks that the Android SDK repositories allow mutating artifacts like that. I'll keep an eye out for more breakage like this.

@dpc
Copy link
Author

dpc commented Oct 27, 2023

@tadfisher Thanks. Good to know. It happened 2 or 3 times for us before, and we've been using android-nixpkgs for about a year.

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

2 participants