3
0
Fork 0
forked from mirrors/nixpkgs

ghc-8.6.x: create an initial package set configuration

This commit is contained in:
Peter Simons 2018-07-04 10:46:07 +02:00
parent e938b12cde
commit 259215a6b3
3 changed files with 55 additions and 1 deletions

View file

@ -23,7 +23,6 @@ self: super: {
ghc-prim = null;
ghci = null;
haskeline = null;
hoopl = self.hoopl_3_10_2_2; # no longer a core library in GHC 8.4.x
hpc = null;
integer-gmp = null;
mtl = null;
@ -40,6 +39,9 @@ self: super: {
unix = null;
xhtml = null;
# Use to be a core-library, but no longer is since GHC 8.4.x.
hoopl = self.hoopl_3_10_2_2;
doctest = dontCheck super.doctest_0_16_0; # tests depend on very recent QuickCheck
hackage-db = super.hackage-db_2_0_1;

View file

@ -0,0 +1,47 @@
{ pkgs, haskellLib }:
with haskellLib;
self: super: {
# Use the latest LLVM.
inherit (pkgs) llvmPackages;
# Disable GHC 8.6.x core libraries.
array = null;
base = null;
binary = null;
bytestring = null;
Cabal = null;
containers = null;
deepseq = null;
directory = null;
filepath = null;
ghc-boot = null;
ghc-boot-th = null;
ghc-compact = null;
ghc-heap = null;
ghc-prim = null;
ghci = null;
haskeline = null;
hpc = null;
integer-gmp = null;
libiserv = null;
mtl = null;
parsec = null;
pretty = null;
process = null;
rts = null;
stm = null;
template-haskell = null;
terminfo = null;
text = null;
time = null;
transformers = null;
unix = null;
xhtml = null;
# Use to be a core-library, but no longer is since GHC 8.4.x.
hoopl = self.hoopl_3_10_2_2;
}

View file

@ -156,6 +156,11 @@ in rec {
ghc = bh.compiler.ghc843;
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-8.4.x.nix { };
};
ghc861 = callPackage ../development/haskell-modules {
buildHaskellPackages = bh.packages.ghc861;
ghc = bh.compiler.ghc861;
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-8.6.x.nix { };
};
ghcHEAD = callPackage ../development/haskell-modules {
buildHaskellPackages = bh.packages.ghcHEAD;
ghc = bh.compiler.ghcHEAD;