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

Change string representation of hashes #83

Open
rgrinberg opened this issue Mar 29, 2022 · 1 comment
Open

Change string representation of hashes #83

rgrinberg opened this issue Mar 29, 2022 · 1 comment

Comments

@rgrinberg
Copy link
Contributor

The wiki says the following:

If you find a hash that uses colon as a separator (:), don't use that. This relies on undocumented behavior and is not officially supported.

Should opam2nix switch to using dashes perhaps?

@timbertson
Copy link
Owner

Probably. But SRI hashes aren't implemented in nix-hash, you need nix which must first be enabled as an experimental feature. I could implement the SRI encoding myself, but it's not standard base64 so I'll just wait it out 🤷

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