haskell.packages.ghc8107.ghc-source-gen: pin to 0.4.5.0
0.4.6.0 only supports >= 9.0 && < 9.11 which we can test now.
haskell.packages.ghc{902,...,9101}.ghc-source-gen: test on Hydra
This commit is contained in:
@@ -174,8 +174,8 @@ self: super: {
|
||||
# Needs OneTuple for ghc < 9.2
|
||||
binary-orphans = addBuildDepends [ self.OneTuple ] super.binary-orphans;
|
||||
|
||||
# Requires GHC < 9.4
|
||||
ghc-source-gen = doDistribute (unmarkBroken super.ghc-source-gen);
|
||||
# 0.4.6.0 only supports >= 9.0
|
||||
ghc-source-gen = doDistribute self.ghc-source-gen_0_4_5_0;
|
||||
|
||||
# No instance for (Show B.Builder) arising from a use of ‘print’
|
||||
http-types = dontCheck super.http-types;
|
||||
|
||||
@@ -151,9 +151,6 @@ self: super: {
|
||||
# Needs OneTuple for ghc < 9.2
|
||||
binary-orphans = addBuildDepends [ self.OneTuple ] super.binary-orphans;
|
||||
|
||||
# Requires GHC < 9.4
|
||||
ghc-source-gen = doDistribute (unmarkBroken super.ghc-source-gen);
|
||||
|
||||
hspec-megaparsec = super.hspec-megaparsec_2_2_0;
|
||||
|
||||
# No instance for (Show B.Builder) arising from a use of ‘print’
|
||||
|
||||
@@ -129,9 +129,6 @@ self: super: {
|
||||
# A given major version of ghc-exactprint only supports one version of GHC.
|
||||
ghc-exactprint = super.ghc-exactprint_1_5_0;
|
||||
|
||||
# Requires GHC < 9.4
|
||||
ghc-source-gen = doDistribute (unmarkBroken super.ghc-source-gen);
|
||||
|
||||
# Packages which need compat library for GHC < 9.6
|
||||
inherit (lib.mapAttrs (_: addBuildDepends [ self.foldable1-classes-compat ]) super)
|
||||
indexed-traversable
|
||||
|
||||
@@ -115,6 +115,7 @@ extra-packages:
|
||||
- extensions == 0.1.0.2 # 2024-10-20: for GHC 9.10/Cabal 3.12
|
||||
- network-run == 0.4.0 # 2024-10-20: for GHC 9.10/network == 3.1.*
|
||||
- typst-symbols >=0.1.6 && <0.1.7 # 2024-11-20: for pandoc 3.5 and quarto
|
||||
- ghc-source-gen < 0.4.6.0 # 2024-12-31: support GHC < 9.0
|
||||
|
||||
package-maintainers:
|
||||
abbradar:
|
||||
|
||||
@@ -123511,6 +123511,23 @@ self: {
|
||||
broken = true;
|
||||
}) {};
|
||||
|
||||
"ghc-source-gen_0_4_5_0" = callPackage
|
||||
({ mkDerivation, base, ghc, ghc-paths, QuickCheck, tasty
|
||||
, tasty-hunit, tasty-quickcheck
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "ghc-source-gen";
|
||||
version = "0.4.5.0";
|
||||
sha256 = "18v6i0a6j72brwr7zq0j0igmkzigx3w4a6rdhq8cn768vflpflvv";
|
||||
libraryHaskellDepends = [ base ghc ];
|
||||
testHaskellDepends = [
|
||||
base ghc ghc-paths QuickCheck tasty tasty-hunit tasty-quickcheck
|
||||
];
|
||||
description = "Constructs Haskell syntax trees for the GHC API";
|
||||
license = lib.licenses.bsd3;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
}) {};
|
||||
|
||||
"ghc-source-gen" = callPackage
|
||||
({ mkDerivation, base, ghc, ghc-paths, QuickCheck, tasty
|
||||
, tasty-hunit, tasty-quickcheck
|
||||
|
||||
@@ -594,12 +594,9 @@ let
|
||||
ghc-lib = released;
|
||||
ghc-lib-parser = released;
|
||||
ghc-lib-parser-ex = released;
|
||||
ghc-source-gen = [
|
||||
# Feel free to remove these as they break,
|
||||
compilerNames.ghc8107
|
||||
compilerNames.ghc902
|
||||
compilerNames.ghc928
|
||||
];
|
||||
ghc-source-gen = lib.subtractLists [
|
||||
compilerNames.ghc9121
|
||||
] released;
|
||||
ghc-tags = lib.subtractLists [
|
||||
compilerNames.ghc9121
|
||||
] released;
|
||||
|
||||
Reference in New Issue
Block a user