haskell.packages.ghc94.primitive: Pin to 0.7.4.0

This commit is contained in:
maralorn 2023-03-04 14:00:26 +01:00
parent b0eb0ecb35
commit 1c43095769
3 changed files with 29 additions and 2 deletions

View file

@ -99,8 +99,7 @@ in {
parallel = doJailbreak super.parallel;
path = doJailbreak super.path;
polyparse = overrideCabal (drv: { postPatch = "sed -i -e 's, <0.11, <0.12,' polyparse.cabal"; }) (doJailbreak super.polyparse);
primitive = doDistribute self.primitive_0_8_0_0;
quickcheck-instances = doDistribute self.quickcheck-instances_0_3_29_1;
primitive = dontCheck (doJailbreak self.primitive_0_7_4_0);
regex-posix = doJailbreak super.regex-posix;
resolv = doJailbreak super.resolv;
singleton-bool = doJailbreak super.singleton-bool;

View file

@ -120,6 +120,7 @@ extra-packages:
- ShellCheck == 0.8.0 # 2022-12-28: required by haskell-ci 0.14.3
- retrie < 1.2.0.0 # 2022-12-30: required for hls on ghc < 9.2
- ghc-tags == 1.5.* # 2023-02-18: preserve for ghc-lib == 9.2.*
- primitive == 0.7.4.0 # 2023-03-04: primitive 0.8 is not compatible with too many packages on ghc 9.4 as of now
package-maintainers:
abbradar:

View file

@ -230630,6 +230630,33 @@ self: {
license = lib.licenses.bsd3;
}) {};
"primitive_0_7_4_0" = callPackage
({ mkDerivation, base, base-orphans, deepseq, ghc-prim, QuickCheck
, quickcheck-classes-base, tagged, tasty, tasty-bench
, tasty-quickcheck, template-haskell, transformers
, transformers-compat
}:
mkDerivation {
pname = "primitive";
version = "0.7.4.0";
sha256 = "1mddh42i6xg02z315c4lg3zsxlr3wziwnpzh2nhzdcifh716sbav";
revision = "1";
editedCabalFile = "0av20kv9ib795qr62yzby5l46vhkifzc6fdj8cppzsfwnfbyvw62";
libraryHaskellDepends = [
base deepseq template-haskell transformers
];
testHaskellDepends = [
base base-orphans ghc-prim QuickCheck quickcheck-classes-base
tagged tasty tasty-quickcheck transformers transformers-compat
];
benchmarkHaskellDepends = [
base deepseq tasty-bench transformers
];
description = "Primitive memory-related operations";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
}) {};
"primitive_0_8_0_0" = callPackage
({ mkDerivation, base, base-orphans, data-array-byte, deepseq
, ghc-prim, QuickCheck, quickcheck-classes-base, tagged, tasty