haskellPackages.hnix-store-remote: restrict to 0.6.*
hnix 0.17.0 requires hnix-store-remote < 0.7 at the moment, so we'll stay with this version until a new hnix version is released. I noticed that there is something sort of wrong with hnix in nixpkgs. We have a constraint from Stackage on hnix-store-core (and no other package) which doesn't match the rest of the hnix packages as we need to use hnix-store-core == 0.6.*. It may be prudent to check why this constraint is in Stackage and whether we can downgrade to 0.6.*. It seems to me that the store 0.8.* packages are not ready yet, i.e. no support from hnix. hnix-store-core == 0.7.* seems to be a strange version that hasn't really any other matching packages.
This commit is contained in:
@@ -32,6 +32,8 @@ default-package-overrides:
|
||||
# 2024-05-10: need to match hlegder from stackage
|
||||
- hledger-ui < 1.33
|
||||
- chs-cabal < 0.1.1.2 # Incompatible with Cabal < 3.12
|
||||
# 2024-08-17: Stackage doesn't contain hnix-store-core >= 0.8 yet, so we need to restrict hnix-store-remote
|
||||
- hnix-store-remote < 0.7
|
||||
|
||||
|
||||
extra-packages:
|
||||
|
||||
@@ -155318,6 +155318,27 @@ self: {
|
||||
}) {};
|
||||
|
||||
"hnix-store-remote" = callPackage
|
||||
({ mkDerivation, attoparsec, base, binary, bytestring, containers
|
||||
, cryptonite, hnix-store-core, mtl, network, nix-derivation, relude
|
||||
, text, time, unordered-containers
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "hnix-store-remote";
|
||||
version = "0.6.0.0";
|
||||
sha256 = "1myib16z5rjx9wa3vbixwq3niqmkhdzjnsinqshvmk6hqwpgqv7r";
|
||||
libraryHaskellDepends = [
|
||||
attoparsec base binary bytestring containers cryptonite
|
||||
hnix-store-core mtl network nix-derivation relude text time
|
||||
unordered-containers
|
||||
];
|
||||
description = "Remote hnix store";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [
|
||||
lib.maintainers.Anton-Latukha lib.maintainers.sorki
|
||||
];
|
||||
}) {};
|
||||
|
||||
"hnix-store-remote_0_7_0_0" = callPackage
|
||||
({ mkDerivation, aeson, attoparsec, base, bytestring, cereal
|
||||
, concurrency, containers, crypton, data-default-class
|
||||
, dependent-sum, dependent-sum-template, dlist, exceptions
|
||||
@@ -155346,6 +155367,7 @@ self: {
|
||||
testToolDepends = [ hspec-discover ];
|
||||
description = "Remote hnix store";
|
||||
license = lib.licenses.asl20;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
maintainers = [
|
||||
lib.maintainers.Anton-Latukha lib.maintainers.sorki
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user