haskell.compiler.ghcjs: provide required ansi-wl-pprint < 0.7

Unfortunately the outdated version of optparse-applicative we need to
use hasn't survived the ansi-wl-pprint deprecation…
This commit is contained in:
sternenseemann 2024-04-27 10:28:45 +02:00
parent cce32cc804
commit a5b5d65b5b
3 changed files with 18 additions and 0 deletions

View File

@ -15,5 +15,6 @@ in self: super: {
}) (super.ghcjs.overrideScope (self: super: {
# Allow transformers-compat >= 0.7
optparse-applicative = doJailbreak self.optparse-applicative_0_15_1_0;
ansi-wl-pprint = self.ansi-wl-pprint_0_6_9;
}));
}

View File

@ -66,6 +66,7 @@ extra-packages:
- haddock-library ==1.7.* # required by stylish-cabal-0.5.0.0
- happy == 1.19.12 # for ghcjs
- hinotify == 0.3.9 # for xmonad-0.26: https://github.com/kolmodin/hinotify/issues/29
- ansi-wl-pprint >= 0.6 && < 0.7 # 2024-03-23: required for ghcjs
- hlint == 3.2.8 # 2022-09-21: needed for hls on ghc 8.8
- hlint == 3.4.1 # 2022-09-21: needed for hls with ghc-lib-parser 9.2
- hnix-store-core < 0.7 # 2023-12-11: required by hnix-store-remote 0.6

View File

@ -36221,6 +36221,22 @@ self: {
hydraPlatforms = lib.platforms.none;
}) {};
"ansi-wl-pprint_0_6_9" = callPackage
({ mkDerivation, ansi-terminal, base }:
mkDerivation {
pname = "ansi-wl-pprint";
version = "0.6.9";
sha256 = "1b2fg8px98dzbaqyns10kvs8kn6cl1hdq5wb9saz40izrpkyicm7";
revision = "4";
editedCabalFile = "04ljsk64bzwsczh0zc5w3r98qr1zlzbwwm2xb6nk9vradv4pnwzv";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ ansi-terminal base ];
description = "The Wadler/Leijen Pretty Printer for colored ANSI terminal output";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
}) {};
"ansi-wl-pprint" = callPackage
({ mkDerivation, base, prettyprinter-compat-ansi-wl-pprint }:
mkDerivation {