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

Replace sha256 in gemset.nix with hash and use SRI hashes #113

Open
fabaff opened this issue Feb 21, 2024 · 0 comments
Open

Replace sha256 in gemset.nix with hash and use SRI hashes #113

fabaff opened this issue Feb 21, 2024 · 0 comments

Comments

@fabaff
Copy link

fabaff commented Feb 21, 2024

Inside Nixpkgs the migration to hash with a SRI hash was startet a while back. To be constant it would be nice if bundix could support this as well.

  actionview = {
    groups = ["default"];
    platforms = [];
    source = {
      remotes = ["https://rubygems.org"];
      sha256 = "0xnpdwj1d8m6c2d90jp9cs50ggiz0jj02ls2h9lg68k4k8mnjbd2";
[...]

to

  actionview = {
    groups = ["default"];
    platforms = [];
    source = {
      remotes = ["https://rubygems.org"];
      hash = "sha256-wBqw+YHKlxYplgsYL1pbkusHyPfCaVPcH/Yku6WDYbE=";
[...]
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