haskell.packages.ghc92.ghc-exactprint: revert to old version

This commit is contained in:
Dennis Gosnell 2023-07-07 12:46:09 +09:00
parent aab1234ea6
commit b93b279b6e
No known key found for this signature in database
GPG key ID: 462E0C03D11422F4
3 changed files with 31 additions and 0 deletions

View file

@ -106,4 +106,7 @@ self: super: {
inline-c-cpp =
(if isDarwin then appendConfigureFlags ["--ghc-option=-fcompact-unwind"] else x: x)
super.inline-c-cpp;
# A given major version of ghc-exactprint only supports one version of GHC.
ghc-exactprint = super.ghc-exactprint_1_5_0;
}

View file

@ -84,6 +84,7 @@ extra-packages:
- ghc-api-compat == 8.10.7 # 2022-02-17: preserve for GHC 8.10.7
- ghc-api-compat == 8.6 # 2021-09-07: preserve for GHC 8.8.4
- ghc-exactprint == 0.6.* # 2022-12-12: needed for GHC < 9.2
- ghc-exactprint == 1.5.* # 2023-03-30: needed for GHC == 9.2
- ghc-exactprint == 1.6.* # 2023-03-30: needed for GHC == 9.4
- ghc-lib == 8.10.7.* # 2022-02-17: preserve for GHC 8.10.7
- ghc-lib == 9.2.* # 2022-02-17: preserve for GHC 9.2

View file

@ -111708,6 +111708,33 @@ self: {
hydraPlatforms = lib.platforms.none;
}) {};
"ghc-exactprint_1_5_0" = callPackage
({ mkDerivation, base, bytestring, containers, data-default, Diff
, directory, fail, filemanip, filepath, free, ghc, ghc-boot
, ghc-paths, HUnit, mtl, ordered-containers, silently, syb
}:
mkDerivation {
pname = "ghc-exactprint";
version = "1.5.0";
sha256 = "07m4cg47knrrvpyimnbc0nq9176vkzwwa64b2iqfj6azn6q2hagp";
revision = "1";
editedCabalFile = "1v6my8bnhjhw7k3v2q9iwjpz9lj5g6ilvlzdq6svcabxahmzbr2c";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base bytestring containers data-default directory fail filepath
free ghc ghc-boot ghc-paths mtl ordered-containers syb
];
testHaskellDepends = [
base bytestring containers data-default Diff directory fail
filemanip filepath ghc ghc-boot ghc-paths HUnit mtl
ordered-containers silently syb
];
description = "ExactPrint for GHC";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
}) {};
"ghc-exactprint" = callPackage
({ mkDerivation, base, bytestring, Cabal-syntax, containers
, data-default, Diff, directory, fail, filemanip, filepath, free