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.
When I first tried to fork & overload the
cryptohash-sha512
incabal.project
, I enforced thebase16-bytestring >= 1.0
requirement, that I encountered in HNix, and understood that the support of both epochs is very easy incryptohash-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 is0.1.1.7
, so supporting both means Store works in Nixpkgs in any case.