tadfisher/android-nixpkgs

Upstream files changed?

dpc opened this issue · 2 comments

dpc commented
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?

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 commented

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