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

Add support for BLAKE3 hash to fetchurl #8475

Closed
yonas opened this issue Jun 8, 2023 · 8 comments
Closed

Add support for BLAKE3 hash to fetchurl #8475

yonas opened this issue Jun 8, 2023 · 8 comments
Labels
feature Feature request or proposal

Comments

@yonas
Copy link

yonas commented Jun 8, 2023

Is your feature request related to a problem? Please describe.
No.

Describe the solution you'd like
As an alternative to md5, sha1, sha256, and sha512, I would like to use BLAKE3.

Describe alternatives you've considered
N/A.

Additional context
N/A.

Priorities
N/A.

@yonas yonas added the feature Feature request or proposal label Jun 8, 2023
@SuperSandro2000
Copy link
Member

related #2166

@yonas
Copy link
Author

yonas commented Jun 8, 2023

@SuperSandro2000 Thanks. I'm going to leave this open because BLAKE3 is much faster than BLAKE2 and SHA.

@AsbjornOlling
Copy link

This could be helpful for building roc programs.

Roc dependencies are pinned by a URL and a BLAKE3 hash. If it were possible to pass a BLAKE3 hash to fetchurl, then we could probably build Roc applications without needing a nix-code-generation step (like node2nix or others).

@Ericson2314
Copy link
Member

I think this is also good for Guix store layer compat

@Ericson2314
Copy link
Member

This is almost a duplicate of #11999

@silvanshade
Copy link
Member

I believe this should be supported now if the blake3-hashes experimental feature is enabled.

@yonas
Copy link
Author

yonas commented Mar 14, 2025

PR: #12379
Committed: 1f56ea4

@yonas yonas closed this as completed Mar 14, 2025
@yonas
Copy link
Author

yonas commented Mar 14, 2025

Thanks @silvanshade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request or proposal
Projects
None yet
Development

No branches or pull requests

5 participants