haskell.packages.ghc924.purescript: allow building and test on Hydra
purescript now requires at least GHC 9.2 to be built due to the use of OverloadedRecordDot. Consequently `haskellPackages.purescript` is marked as broken. After eliminating the test dependency on the broken utf8-light in language-javascript_0_7_0_0 we can build and test purescript in the 9.2.4 package set.
This commit is contained in:
parent
a0383f7ad9
commit
502531cb2d
|
@ -2604,7 +2604,7 @@ in {
|
|||
purescript =
|
||||
lib.pipe
|
||||
(super.purescript.overrideScope purescriptOverlay)
|
||||
[
|
||||
([
|
||||
# PureScript uses nodejs to run tests, so the tests have been disabled
|
||||
# for now. If someone is interested in figuring out how to get this
|
||||
# working, it seems like it might be possible.
|
||||
|
@ -2615,7 +2615,10 @@ in {
|
|||
doJailbreak
|
||||
# Generate shell completions
|
||||
(self.generateOptparseApplicativeCompletions [ "purs" ])
|
||||
];
|
||||
] ++ lib.optionals (lib.versions.majorMinor self.ghc.version == "9.2") [
|
||||
markUnbroken
|
||||
doDistribute
|
||||
]);
|
||||
|
||||
purescript-cst = purescriptStOverride super.purescript-cst;
|
||||
|
||||
|
|
|
@ -132,6 +132,11 @@ self: super: {
|
|||
servant = doJailbreak super.servant;
|
||||
servant-swagger = doJailbreak super.servant-swagger;
|
||||
|
||||
# Depends on utf8-light which isn't maintained / doesn't support base >= 4.16
|
||||
# https://github.com/haskell-infra/hackage-trustees/issues/347
|
||||
# https://mail.haskell.org/pipermail/haskell-cafe/2022-October/135613.html
|
||||
language-javascript_0_7_0_0 = dontCheck super.language-javascript_0_7_0_0;
|
||||
|
||||
# 2022-09-02: Too strict bounds on lens
|
||||
# https://github.com/haskell-servant/servant/pull/1607/files
|
||||
servant-docs = doJailbreak super.servant-docs;
|
||||
|
|
|
@ -394,6 +394,9 @@ let
|
|||
compilerNames.ghc902
|
||||
compilerNames.ghc924
|
||||
];
|
||||
purescript = [
|
||||
compilerNames.ghc924
|
||||
];
|
||||
purescript-cst = [
|
||||
compilerNames.ghc8107
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue