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

hnix-store-{core,remote}: allow also base16-bytestring < 1.0 #100

Merged
merged 1 commit into from
Dec 29, 2020

Conversation

Anton-Latukha
Copy link
Contributor

@Anton-Latukha Anton-Latukha commented Dec 29, 2020

When I first tried to fork & overload the cryptohash-sha512 in cabal.project, I enforced the base16-bytestring >= 1.0 requirement, that I encountered in HNix, and understood that the support of both epochs is very easy in cryptohash-sha512 and HNix-Store with a couple of lines of CPP macros.

So this is what this PR does. Allows downstream to use any version of base16-bytestring, the same probably would be done in HNix.

This also simplifies things with Nixpkgs, as standard base16-bytestring there is 0.1.1.7, so supporting both means Store works in Nixpkgs in any case.

@Anton-Latukha Anton-Latukha changed the title hnix-store-{core,remote}: allow base16-bytestring < 1.0 also hnix-store-{core,remote}: allow also base16-bytestring < 1.0 Dec 29, 2020
@Anton-Latukha Anton-Latukha merged commit 43313d0 into master Dec 29, 2020
@Anton-Latukha Anton-Latukha deleted the 2020-12-29-fx-base16-bytestring-dep branch December 29, 2020 23:54
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

Successfully merging this pull request may close these issues.

None yet

1 participant