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

haskellPackages.cryptohash-sha512: fix by jailbreaking #106333

Merged

Conversation

layus
Copy link
Member

@layus layus commented Dec 8, 2020

Motivation for this change

Fix cryptohash-sha512.

It has a long pending PR for update to newer GHC, and has been tested to work with more recent GHC. This package is intended to be used by HNix.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Fits CONTRIBUTING.md.

/cc @peti

Copy link
Member

@cdepillabout cdepillabout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this up, this LGTM! haskell-packages.nix should be updated in about 24 hours, and this package will be unmarked broken. The haskell-packages branch should get merged into master in a week or so.

We could add a version check because the jailbreak can be removed when the package gets updated. If this one gets a new version it will certainly include the fix. Not sure how to make that in a maintainable way.

We've tried to do this in the past, but it ended up being more trouble than it is worth :-\

We are always looking for suggestions of how we can improve here, or even just more people to help review nixpkgs issue with the haskell label.

@cdepillabout cdepillabout merged commit a46b6f8 into NixOS:haskell-updates Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants