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

feat: support nar hash query parameter #74

Open
cafkafk opened this issue Jan 27, 2024 · 0 comments
Open

feat: support nar hash query parameter #74

cafkafk opened this issue Jan 27, 2024 · 0 comments

Comments

@cafkafk
Copy link
Owner

cafkafk commented Jan 27, 2024

Flake inputs will expect being able to query by nar hash:

error: NAR hash mismatch in input 'http://rime.cx/v1/github/semnix/rust-overlay.tar.gz?narHash=sha256-RRIVKv%2BtiI1yn1PqZiVGQ9YlQGZ%2B/9iEkA4rst1QiNk%3D' (/nix/store/vf4w1wz938x8pk7chqrd68hrd21h4vsg-source), expected 'sha256-RRIVKv+tiI1yn1PqZiVGQ9YlQGZ+/9iEkA4rst1QiNk=', got 'sha256-FkwIBTAMsxyceQce0Mbm+/+cOjj2r5IHBK4R/ekPNaw='

There is a bit of exploration into how nix works that can be done here, which seems pretty fun.

Also, whether or not we can actually provide these hashes without having some sort of store is an open question.

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

1 participant