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

Fix dependency checksum error during initial setup #86

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

icebound777
Copy link
Contributor

@icebound777 icebound777 commented Jul 22, 2024

The provided URL for mips-gcc-egcs-2.91.66-linux.tar.gz within ./shell.nix points to the latest release of that repository.

However, that repository recently saw new releases, so a different file now gets downloaded and the provided checksum for that file no longer matches.

error: hash mismatch in file downloaded from 'https://github.com/decompals/mips-gcc-egcs-2.91.66/releases/latest/download/mips-gcc-egcs-2.91.66-linux.tar.gz':
         specified: sha256:03v1ci7j0hi53z639rwj60xwz0zzi82a9azi0yiw818r754faql0
         got:       sha256:1fdvlah66r26c4fvy4j97f2bqaair19bbbg4z3x0qz16iphhzmhx

This PR pins the release of that dependency to its version 0.2, which matches the provided sha256 checksum.

As an alternative to this PR, if an update to a newer version of the dependency is being considered, I recommend both updating the sha256 to the current up-to-date version of 0.4, as well as pinning the dependency to said version.

For reference, see https://github.com/decompals/mips-gcc-egcs-2.91.66/releases

@bates64
Copy link
Owner

bates64 commented Jul 26, 2024

Thanks!

@bates64 bates64 merged commit ed4f407 into bates64:main Jul 26, 2024
3 of 4 checks passed
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 this pull request may close these issues.

2 participants