We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe. Currently, using SRI hashes with nix-prefetch-url require an invocation such as:
nix-prefetch-url
nix-prefetch-url <url> --type sha256 | xargs nix hash convert --hash-algo sha256
Describe the solution you'd like It'd be far more convenient to have a flag to output SRI hashes directly, e.g.
nix-prefetch-url <url> --type sha256 --as-sri
Or alternatively, use SRI hashes by default, since they're the preferred type in nixpkgs anyway.
Describe alternatives you've considered see above
Additional context
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered:
having a subcommand nix prefetch-url with --as-sri as the default behavior would be nice
nix prefetch-url
--as-sri
Sorry, something went wrong.
nix store prefetch-file prints an SRI hash, maybe that works for you?
nix store prefetch-file
No branches or pull requests
Is your feature request related to a problem? Please describe.
Currently, using SRI hashes with
nix-prefetch-url
require an invocation such as:Describe the solution you'd like
It'd be far more convenient to have a flag to output SRI hashes directly, e.g.
Or alternatively, use SRI hashes by default, since they're the preferred type in nixpkgs anyway.
Describe alternatives you've considered
see above
Additional context
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: