haskell.compiler.ghc9141: init at 9.14.1
https://www.haskell.org/ghc/blog/20251219-ghc-9.14.1-released.html Co-authored-by: sternenseemann <sternenseemann@systemli.org>
This commit is contained in:
committed by
sternenseemann
co-authored by
sternenseemann
parent
ea178f051c
commit
9654052789
@@ -0,0 +1,4 @@
|
||||
import ./common-hadrian.nix {
|
||||
version = "9.14.1";
|
||||
sha256 = "2a83779c9af86554a3289f2787a38d6aa83d00d136aa9f920361dd693c101e77";
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
{ pkgs, haskellLib }:
|
||||
|
||||
self: super:
|
||||
|
||||
let
|
||||
inherit (pkgs) lib;
|
||||
|
||||
warnAfterVersion =
|
||||
ver: pkg:
|
||||
lib.warnIf (lib.versionOlder ver
|
||||
super.${pkg.pname}.version
|
||||
) "override for haskell.packages.ghc912.${pkg.pname} may no longer be needed" pkg;
|
||||
|
||||
in
|
||||
|
||||
with haskellLib;
|
||||
|
||||
{
|
||||
# Disable GHC core libraries
|
||||
array = null;
|
||||
base = null;
|
||||
binary = null;
|
||||
bytestring = null;
|
||||
Cabal = null;
|
||||
Cabal-syntax = null;
|
||||
containers = null;
|
||||
deepseq = null;
|
||||
directory = null;
|
||||
exceptions = null;
|
||||
file-io = null;
|
||||
filepath = null;
|
||||
ghc-bignum = null;
|
||||
ghc-boot = null;
|
||||
ghc-boot-th = null;
|
||||
ghc-compact = null;
|
||||
ghc-experimental = null;
|
||||
ghc-heap = null;
|
||||
ghc-internal = null;
|
||||
ghc-platform = null;
|
||||
ghc-prim = null;
|
||||
ghc-toolchain = null;
|
||||
ghci = null;
|
||||
haddock-api = null;
|
||||
haddock-library = null;
|
||||
haskeline = null;
|
||||
hpc = null;
|
||||
integer-gmp = null;
|
||||
mtl = null;
|
||||
os-string = null;
|
||||
parsec = null;
|
||||
pretty = null;
|
||||
process = null;
|
||||
rts = null;
|
||||
semaphore-compat = null;
|
||||
stm = null;
|
||||
system-cxx-std-lib = null;
|
||||
template-haskell = null;
|
||||
template-haskell-lift = null;
|
||||
template-haskell-quasiquoter = null;
|
||||
# GHC only builds terminfo if it is a native compiler
|
||||
terminfo =
|
||||
if pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform then
|
||||
null
|
||||
else
|
||||
haskellLib.doDistribute self.terminfo_0_4_1_7;
|
||||
text = null;
|
||||
time = null;
|
||||
transformers = null;
|
||||
unix = null;
|
||||
xhtml = null;
|
||||
Win32 = null;
|
||||
|
||||
#
|
||||
# Version upgrades
|
||||
#
|
||||
|
||||
#
|
||||
# Jailbreaks
|
||||
#
|
||||
|
||||
primitive = doJailbreak (dontCheck super.primitive); # base <4.22 and a lot of dependencies on packages not yet working.
|
||||
splitmix = doJailbreak super.splitmix; # base <4.22
|
||||
|
||||
# https://github.com/sjakobi/newtype-generics/pull/28/files
|
||||
newtype-generics = warnAfterVersion "0.6.2" (doJailbreak super.newtype-generics);
|
||||
|
||||
#
|
||||
# Test suite issues
|
||||
#
|
||||
}
|
||||
@@ -134,6 +134,15 @@ in
|
||||
inherit buildTargetLlvmPackages llvmPackages;
|
||||
};
|
||||
ghc912 = compiler.ghc9122;
|
||||
ghc9141 = callPackage ../development/compilers/ghc/9.14.1.nix {
|
||||
bootPkgs =
|
||||
# No suitable bindist packaged yet
|
||||
bb.packages.ghc9103;
|
||||
inherit (buildPackages.python3Packages) sphinx;
|
||||
inherit (buildPackages.darwin) xattr autoSignDarwinBinariesHook;
|
||||
inherit buildTargetLlvmPackages llvmPackages;
|
||||
};
|
||||
ghc914 = compiler.ghc9141;
|
||||
ghcHEAD = callPackage ../development/compilers/ghc/head.nix {
|
||||
bootPkgs = bb.packages.ghc984Binary;
|
||||
inherit (buildPackages.python3Packages) sphinx;
|
||||
@@ -221,6 +230,12 @@ in
|
||||
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.12.x.nix { };
|
||||
};
|
||||
ghc912 = packages.ghc9122;
|
||||
ghc9141 = callPackage ../development/haskell-modules {
|
||||
buildHaskellPackages = bh.packages.ghc9141;
|
||||
ghc = bh.compiler.ghc9141;
|
||||
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.14.x.nix { };
|
||||
};
|
||||
ghc914 = packages.ghc9141;
|
||||
ghcHEAD = callPackage ../development/haskell-modules {
|
||||
buildHaskellPackages = bh.packages.ghcHEAD;
|
||||
ghc = bh.compiler.ghcHEAD;
|
||||
|
||||
Reference in New Issue
Block a user