···108108Each of those compiler versions has a corresponding attribute set built using
109109it. However, the non-standard package sets are not tested regularly and, as a
110110result, contain fewer working packages. The corresponding package set for GHC
111111-9.4.4 is `haskell.packages.ghc944`. In fact `haskellPackages` is just an alias
111111+9.4.5 is `haskell.packages.ghc945`. In fact `haskellPackages` is just an alias
112112for `haskell.packages.ghc927`:
113113114114```console
+389
pkgs/development/compilers/ghc/9.4.5.nix
···11+# DO NOT port this expression to hadrian. It is not possible to build a GHC
22+# cross compiler with 9.4.* and hadrian.
33+{ lib, stdenv, pkgsBuildTarget, pkgsHostTarget, targetPackages
44+55+# build-tools
66+, bootPkgs
77+, autoconf, automake, coreutils, fetchpatch, fetchurl, perl, python3, m4, sphinx
88+, xattr, autoSignDarwinBinariesHook
99+, bash
1010+1111+, libiconv ? null, ncurses
1212+, glibcLocales ? null
1313+1414+, # GHC can be built with system libffi or a bundled one.
1515+ libffi ? null
1616+1717+, useLLVM ? !(stdenv.targetPlatform.isx86
1818+ || stdenv.targetPlatform.isPower
1919+ || stdenv.targetPlatform.isSparc
2020+ || (stdenv.targetPlatform.isAarch64 && stdenv.targetPlatform.isDarwin))
2121+, # LLVM is conceptually a run-time-only depedendency, but for
2222+ # non-x86, we need LLVM to bootstrap later stages, so it becomes a
2323+ # build-time dependency too.
2424+ buildTargetLlvmPackages, llvmPackages
2525+2626+, # If enabled, GHC will be built with the GPL-free but slightly slower native
2727+ # bignum backend instead of the faster but GPLed gmp backend.
2828+ enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp
2929+ && lib.meta.availableOn stdenv.targetPlatform gmp)
3030+, gmp
3131+3232+, # If enabled, use -fPIC when compiling static libs.
3333+ enableRelocatedStaticLibs ? stdenv.targetPlatform != stdenv.hostPlatform
3434+3535+ # aarch64 outputs otherwise exceed 2GB limit
3636+, enableProfiledLibs ? !stdenv.targetPlatform.isAarch64
3737+3838+, # Whether to build dynamic libs for the standard library (on the target
3939+ # platform). Static libs are always built.
4040+ enableShared ? with stdenv.targetPlatform; !isWindows && !useiOSPrebuilt && !isStatic
4141+4242+, # Whether to build terminfo.
4343+ enableTerminfo ? !stdenv.targetPlatform.isWindows
4444+4545+, # What flavour to build. An empty string indicates no
4646+ # specific flavour and falls back to ghc default values.
4747+ ghcFlavour ? lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
4848+ (if useLLVM then "perf-cross" else "perf-cross-ncg")
4949+5050+, # Whether to build sphinx documentation.
5151+ enableDocs ? (
5252+ # Docs disabled for musl and cross because it's a large task to keep
5353+ # all `sphinx` dependencies building in those environments.
5454+ # `sphinx` pulls in among others:
5555+ # Ruby, Python, Perl, Rust, OpenGL, Xorg, gtk, LLVM.
5656+ (stdenv.targetPlatform == stdenv.hostPlatform)
5757+ && !stdenv.hostPlatform.isMusl
5858+ )
5959+6060+, enableHaddockProgram ?
6161+ # Disabled for cross; see note [HADDOCK_DOCS].
6262+ (stdenv.targetPlatform == stdenv.hostPlatform)
6363+6464+, # Whether to disable the large address space allocator
6565+ # necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
6666+ disableLargeAddressSpace ? stdenv.targetPlatform.isiOS
6767+}:
6868+6969+assert !enableNativeBignum -> gmp != null;
7070+7171+# Cross cannot currently build the `haddock` program for silly reasons,
7272+# see note [HADDOCK_DOCS].
7373+assert (stdenv.targetPlatform != stdenv.hostPlatform) -> !enableHaddockProgram;
7474+7575+let
7676+ inherit (stdenv) buildPlatform hostPlatform targetPlatform;
7777+7878+ inherit (bootPkgs) ghc;
7979+8080+ # TODO(@Ericson2314) Make unconditional
8181+ targetPrefix = lib.optionalString
8282+ (targetPlatform != hostPlatform)
8383+ "${targetPlatform.config}-";
8484+8585+ buildMK = ''
8686+ BuildFlavour = ${ghcFlavour}
8787+ ifneq \"\$(BuildFlavour)\" \"\"
8888+ include mk/flavours/\$(BuildFlavour).mk
8989+ endif
9090+ BUILD_SPHINX_HTML = ${if enableDocs then "YES" else "NO"}
9191+ BUILD_SPHINX_PDF = NO
9292+ '' +
9393+ # Note [HADDOCK_DOCS]:
9494+ # Unfortunately currently `HADDOCK_DOCS` controls both whether the `haddock`
9595+ # program is built (which we generally always want to have a complete GHC install)
9696+ # and whether it is run on the GHC sources to generate hyperlinked source code
9797+ # (which is impossible for cross-compilation); see:
9898+ # https://gitlab.haskell.org/ghc/ghc/-/issues/20077
9999+ # This implies that currently a cross-compiled GHC will never have a `haddock`
100100+ # program, so it can never generate haddocks for any packages.
101101+ # If this is solved in the future, we'd like to unconditionally
102102+ # build the haddock program (removing the `enableHaddockProgram` option).
103103+ ''
104104+ HADDOCK_DOCS = ${if enableHaddockProgram then "YES" else "NO"}
105105+ # Build haddocks for boot packages with hyperlinking
106106+ EXTRA_HADDOCK_OPTS += --hyperlinked-source --quickjump
107107+108108+ DYNAMIC_GHC_PROGRAMS = ${if enableShared then "YES" else "NO"}
109109+ BIGNUM_BACKEND = ${if enableNativeBignum then "native" else "gmp"}
110110+ '' + lib.optionalString (targetPlatform != hostPlatform) ''
111111+ Stage1Only = ${if targetPlatform.system == hostPlatform.system then "NO" else "YES"}
112112+ CrossCompilePrefix = ${targetPrefix}
113113+ '' + lib.optionalString (!enableProfiledLibs) ''
114114+ GhcLibWays = "v dyn"
115115+ '' +
116116+ # -fexternal-dynamic-refs apparently (because it's not clear from the documentation)
117117+ # makes the GHC RTS able to load static libraries, which may be needed for TemplateHaskell.
118118+ # This solution was described in https://www.tweag.io/blog/2020-09-30-bazel-static-haskell
119119+ lib.optionalString enableRelocatedStaticLibs ''
120120+ GhcLibHcOpts += -fPIC -fexternal-dynamic-refs
121121+ GhcRtsHcOpts += -fPIC -fexternal-dynamic-refs
122122+ '' + lib.optionalString targetPlatform.useAndroidPrebuilt ''
123123+ EXTRA_CC_OPTS += -std=gnu99
124124+ '';
125125+126126+ # Splicer will pull out correct variations
127127+ libDeps = platform: lib.optional enableTerminfo ncurses
128128+ ++ [libffi]
129129+ ++ lib.optional (!enableNativeBignum) gmp
130130+ ++ lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv;
131131+132132+ # TODO(@sternenseemann): is buildTarget LLVM unnecessary?
133133+ # GHC doesn't seem to have {LLC,OPT}_HOST
134134+ toolsForTarget = [
135135+ pkgsBuildTarget.targetPackages.stdenv.cc
136136+ ] ++ lib.optional useLLVM buildTargetLlvmPackages.llvm;
137137+138138+ targetCC = builtins.head toolsForTarget;
139139+140140+ # Sometimes we have to dispatch between the bintools wrapper and the unwrapped
141141+ # derivation for certain tools depending on the platform.
142142+ bintoolsFor = {
143143+ # GHC needs install_name_tool on all darwin platforms. On aarch64-darwin it is
144144+ # part of the bintools wrapper (due to codesigning requirements), but not on
145145+ # x86_64-darwin.
146146+ install_name_tool =
147147+ if stdenv.targetPlatform.isAarch64
148148+ then targetCC.bintools
149149+ else targetCC.bintools.bintools;
150150+ # Same goes for strip.
151151+ strip =
152152+ # TODO(@sternenseemann): also use wrapper if linker == "bfd" or "gold"
153153+ if stdenv.targetPlatform.isAarch64 && stdenv.targetPlatform.isDarwin
154154+ then targetCC.bintools
155155+ else targetCC.bintools.bintools;
156156+ };
157157+158158+ # Use gold either following the default, or to avoid the BFD linker due to some bugs / perf issues.
159159+ # But we cannot avoid BFD when using musl libc due to https://sourceware.org/bugzilla/show_bug.cgi?id=23856
160160+ # see #84670 and #49071 for more background.
161161+ useLdGold = targetPlatform.linker == "gold" ||
162162+ (targetPlatform.linker == "bfd" && (targetCC.bintools.bintools.hasGold or false) && !targetPlatform.isMusl);
163163+164164+ # Makes debugging easier to see which variant is at play in `nix-store -q --tree`.
165165+ variantSuffix = lib.concatStrings [
166166+ (lib.optionalString stdenv.hostPlatform.isMusl "-musl")
167167+ (lib.optionalString enableNativeBignum "-native-bignum")
168168+ ];
169169+170170+in
171171+172172+# C compiler, bintools and LLVM are used at build time, but will also leak into
173173+# the resulting GHC's settings file and used at runtime. This means that we are
174174+# currently only able to build GHC if hostPlatform == buildPlatform.
175175+assert targetCC == pkgsHostTarget.targetPackages.stdenv.cc;
176176+assert buildTargetLlvmPackages.llvm == llvmPackages.llvm;
177177+assert stdenv.targetPlatform.isDarwin -> buildTargetLlvmPackages.clang == llvmPackages.clang;
178178+179179+stdenv.mkDerivation (rec {
180180+ version = "9.4.5";
181181+ pname = "${targetPrefix}ghc${variantSuffix}";
182182+183183+ src = fetchurl {
184184+ url = "https://downloads.haskell.org/ghc/${version}/ghc-${version}-src.tar.xz";
185185+ sha256 = "6256cf9caf6d6dc7b611dcfbb247df2d528e85aa39d22a698e870e5a590e8601";
186186+ };
187187+188188+ enableParallelBuilding = true;
189189+190190+ outputs = [ "out" "doc" ];
191191+192192+ patches = [
193193+ # Don't generate code that doesn't compile when --enable-relocatable is passed to Setup.hs
194194+ # Can be removed if the Cabal library included with ghc backports the linked fix
195195+ (fetchpatch {
196196+ url = "https://github.com/haskell/cabal/commit/6c796218c92f93c95e94d5ec2d077f6956f68e98.patch";
197197+ stripLen = 1;
198198+ extraPrefix = "libraries/Cabal/";
199199+ sha256 = "sha256-yRQ6YmMiwBwiYseC5BsrEtDgFbWvst+maGgDtdD0vAY=";
200200+ })
201201+202202+ # Fix docs build with sphinx >= 6.0
203203+ # https://gitlab.haskell.org/ghc/ghc/-/issues/22766
204204+ (fetchpatch {
205205+ name = "ghc-docs-sphinx-6.0.patch";
206206+ url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch";
207207+ sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv";
208208+ })
209209+ ];
210210+211211+ postPatch = "patchShebangs .";
212212+213213+ # GHC needs the locale configured during the Haddock phase.
214214+ LANG = "en_US.UTF-8";
215215+216216+ # GHC is a bit confused on its cross terminology.
217217+ # TODO(@sternenseemann): investigate coreutils dependencies and pass absolute paths
218218+ preConfigure = ''
219219+ for env in $(env | grep '^TARGET_' | sed -E 's|\+?=.*||'); do
220220+ export "''${env#TARGET_}=''${!env}"
221221+ done
222222+ # GHC is a bit confused on its cross terminology, as these would normally be
223223+ # the *host* tools.
224224+ export CC="${targetCC}/bin/${targetCC.targetPrefix}cc"
225225+ export CXX="${targetCC}/bin/${targetCC.targetPrefix}c++"
226226+ # Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177
227227+ export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${lib.optionalString useLdGold ".gold"}"
228228+ export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as"
229229+ export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar"
230230+ export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm"
231231+ export RANLIB="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ranlib"
232232+ export READELF="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}readelf"
233233+ export STRIP="${bintoolsFor.strip}/bin/${bintoolsFor.strip.targetPrefix}strip"
234234+ '' + lib.optionalString (stdenv.targetPlatform.linker == "cctools") ''
235235+ export OTOOL="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}otool"
236236+ export INSTALL_NAME_TOOL="${bintoolsFor.install_name_tool}/bin/${bintoolsFor.install_name_tool.targetPrefix}install_name_tool"
237237+ '' + lib.optionalString useLLVM ''
238238+ export LLC="${lib.getBin buildTargetLlvmPackages.llvm}/bin/llc"
239239+ export OPT="${lib.getBin buildTargetLlvmPackages.llvm}/bin/opt"
240240+ '' + lib.optionalString (useLLVM && stdenv.targetPlatform.isDarwin) ''
241241+ # LLVM backend on Darwin needs clang: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/codegens.html#llvm-code-generator-fllvm
242242+ export CLANG="${buildTargetLlvmPackages.clang}/bin/${buildTargetLlvmPackages.clang.targetPrefix}clang"
243243+ '' + ''
244244+245245+ echo -n "${buildMK}" > mk/build.mk
246246+247247+ sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
248248+ '' + lib.optionalString (stdenv.isLinux && hostPlatform.libc == "glibc") ''
249249+ export LOCALE_ARCHIVE="${glibcLocales}/lib/locale/locale-archive"
250250+ '' + lib.optionalString (!stdenv.isDarwin) ''
251251+ export NIX_LDFLAGS+=" -rpath $out/lib/ghc-${version}"
252252+ '' + lib.optionalString stdenv.isDarwin ''
253253+ export NIX_LDFLAGS+=" -no_dtrace_dof"
254254+255255+ # GHC tries the host xattr /usr/bin/xattr by default which fails since it expects python to be 2.7
256256+ export XATTR=${lib.getBin xattr}/bin/xattr
257257+ '' + lib.optionalString targetPlatform.useAndroidPrebuilt ''
258258+ sed -i -e '5i ,("armv7a-unknown-linux-androideabi", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "cortex-a8", ""))' llvm-targets
259259+ '' + lib.optionalString targetPlatform.isMusl ''
260260+ echo "patching llvm-targets for musl targets..."
261261+ echo "Cloning these existing '*-linux-gnu*' targets:"
262262+ grep linux-gnu llvm-targets | sed 's/^/ /'
263263+ echo "(go go gadget sed)"
264264+ sed -i 's,\(^.*linux-\)gnu\(.*\)$,\0\n\1musl\2,' llvm-targets
265265+ echo "llvm-targets now contains these '*-linux-musl*' targets:"
266266+ grep linux-musl llvm-targets | sed 's/^/ /'
267267+268268+ echo "And now patching to preserve '-musleabi' as done with '-gnueabi'"
269269+ # (aclocal.m4 is actual source, but patch configure as well since we don't re-gen)
270270+ for x in configure aclocal.m4; do
271271+ substituteInPlace $x \
272272+ --replace '*-android*|*-gnueabi*)' \
273273+ '*-android*|*-gnueabi*|*-musleabi*)'
274274+ done
275275+ ''
276276+ # HACK: allow bootstrapping with GHC 8.10 which works fine, as we don't have
277277+ # binary 9.0 packaged. Bootstrapping with 9.2 is broken without hadrian.
278278+ + ''
279279+ substituteInPlace configure --replace \
280280+ 'MinBootGhcVersion="9.0"' \
281281+ 'MinBootGhcVersion="8.10"'
282282+ '';
283283+284284+ # TODO(@Ericson2314): Always pass "--target" and always prefix.
285285+ configurePlatforms = [ "build" "host" ]
286286+ ++ lib.optional (targetPlatform != hostPlatform) "target";
287287+288288+ # `--with` flags for libraries needed for RTS linker
289289+ configureFlags = [
290290+ "--datadir=$doc/share/doc/ghc"
291291+ "--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib"
292292+ ] ++ lib.optionals (libffi != null) [
293293+ "--with-system-libffi"
294294+ "--with-ffi-includes=${targetPackages.libffi.dev}/include"
295295+ "--with-ffi-libraries=${targetPackages.libffi.out}/lib"
296296+ ] ++ lib.optionals (targetPlatform == hostPlatform && !enableNativeBignum) [
297297+ "--with-gmp-includes=${targetPackages.gmp.dev}/include"
298298+ "--with-gmp-libraries=${targetPackages.gmp.out}/lib"
299299+ ] ++ lib.optionals (targetPlatform == hostPlatform && hostPlatform.libc != "glibc" && !targetPlatform.isWindows) [
300300+ "--with-iconv-includes=${libiconv}/include"
301301+ "--with-iconv-libraries=${libiconv}/lib"
302302+ ] ++ lib.optionals (targetPlatform != hostPlatform) [
303303+ "--enable-bootstrap-with-devel-snapshot"
304304+ ] ++ lib.optionals useLdGold [
305305+ "CFLAGS=-fuse-ld=gold"
306306+ "CONF_GCC_LINKER_OPTS_STAGE1=-fuse-ld=gold"
307307+ "CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold"
308308+ ] ++ lib.optionals (disableLargeAddressSpace) [
309309+ "--disable-large-address-space"
310310+ ];
311311+312312+ # Make sure we never relax`$PATH` and hooks support for compatibility.
313313+ strictDeps = true;
314314+315315+ # Don’t add -liconv to LDFLAGS automatically so that GHC will add it itself.
316316+ dontAddExtraLibs = true;
317317+318318+ nativeBuildInputs = [
319319+ perl autoconf automake m4 python3
320320+ ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour
321321+ ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
322322+ autoSignDarwinBinariesHook
323323+ ] ++ lib.optionals enableDocs [
324324+ sphinx
325325+ ];
326326+327327+ # For building runtime libs
328328+ depsBuildTarget = toolsForTarget;
329329+330330+ buildInputs = [ perl bash ] ++ (libDeps hostPlatform);
331331+332332+ depsTargetTarget = map lib.getDev (libDeps targetPlatform);
333333+ depsTargetTargetPropagated = map (lib.getOutput "out") (libDeps targetPlatform);
334334+335335+ # required, because otherwise all symbols from HSffi.o are stripped, and
336336+ # that in turn causes GHCi to abort
337337+ stripDebugFlags = [ "-S" ] ++ lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
338338+339339+ checkTarget = "test";
340340+341341+ hardeningDisable =
342342+ [ "format" ]
343343+ # In nixpkgs, musl based builds currently enable `pie` hardening by default
344344+ # (see `defaultHardeningFlags` in `make-derivation.nix`).
345345+ # But GHC cannot currently produce outputs that are ready for `-pie` linking.
346346+ # Thus, disable `pie` hardening, otherwise `recompile with -fPIE` errors appear.
347347+ # See:
348348+ # * https://github.com/NixOS/nixpkgs/issues/129247
349349+ # * https://gitlab.haskell.org/ghc/ghc/-/issues/19580
350350+ ++ lib.optional stdenv.targetPlatform.isMusl "pie";
351351+352352+ # big-parallel allows us to build with more than 2 cores on
353353+ # Hydra which already warrants a significant speedup
354354+ requiredSystemFeatures = [ "big-parallel" ];
355355+356356+ postInstall = ''
357357+ # Install the bash completion file.
358358+ install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc
359359+ '';
360360+361361+ passthru = {
362362+ inherit bootPkgs targetPrefix;
363363+364364+ inherit llvmPackages;
365365+ inherit enableShared;
366366+367367+ # This is used by the haskell builder to query
368368+ # the presence of the haddock program.
369369+ hasHaddock = enableHaddockProgram;
370370+371371+ # Our Cabal compiler name
372372+ haskellCompilerName = "ghc-${version}";
373373+ };
374374+375375+ meta = {
376376+ homepage = "http://haskell.org/ghc";
377377+ description = "The Glasgow Haskell Compiler";
378378+ maintainers = with lib.maintainers; [
379379+ guibou
380380+ ] ++ lib.teams.haskell.members;
381381+ timeout = 24 * 3600;
382382+ inherit (ghc.meta) license platforms;
383383+ };
384384+385385+} // lib.optionalAttrs targetPlatform.useAndroidPrebuilt {
386386+ dontStrip = true;
387387+ dontPatchELF = true;
388388+ noAuditTmpdir = true;
389389+})
+33-2
pkgs/top-level/haskell-packages.nix
···2424 "ghc942"
2525 "ghc943"
2626 "ghc944"
2727+ "ghc945"
2728 "ghc94"
2829 "ghc96"
2930 "ghc961"
···4243 "ghc942"
4344 "ghc943"
4445 "ghc944"
4646+ "ghc945"
4547 "ghc96"
4648 "ghc961"
4749 "ghcHEAD"
···302304 buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_12;
303305 llvmPackages = pkgs.llvmPackages_12;
304306 };
305305- ghc94 = ghc944;
307307+ ghc945 = callPackage ../development/compilers/ghc/9.4.5.nix {
308308+ bootPkgs =
309309+ # Building with 9.2 is broken due to
310310+ # https://gitlab.haskell.org/ghc/ghc/-/issues/21914
311311+ # Use 8.10 as a workaround where possible to keep bootstrap path short.
312312+313313+ # On ARM text won't build with GHC 8.10.*
314314+ if stdenv.hostPlatform.isAarch then
315315+ # TODO(@sternenseemann): package bindist
316316+ packages.ghc902
317317+ # No suitable bindists for powerpc64le
318318+ else if stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isLittleEndian then
319319+ packages.ghc902
320320+ else
321321+ packages.ghc8107Binary;
322322+ inherit (buildPackages.python3Packages) sphinx;
323323+ # Need to use apple's patched xattr until
324324+ # https://github.com/xattr/xattr/issues/44 and
325325+ # https://github.com/xattr/xattr/issues/55 are solved.
326326+ inherit (buildPackages.darwin) xattr autoSignDarwinBinariesHook;
327327+ # Support range >= 10 && < 14
328328+ buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_12;
329329+ llvmPackages = pkgs.llvmPackages_12;
330330+ };
331331+ ghc94 = ghc945;
306332 ghc961 = callPackage ../development/compilers/ghc/9.6.1.nix {
307333 bootPkgs =
308334 # For GHC 9.2 no armv7l bindists are available.
···475501 ghc = bh.compiler.ghc944;
476502 compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.4.x.nix { };
477503 };
478478- ghc94 = ghc944;
504504+ ghc945 = callPackage ../development/haskell-modules {
505505+ buildHaskellPackages = bh.packages.ghc945;
506506+ ghc = bh.compiler.ghc945;
507507+ compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.4.x.nix { };
508508+ };
509509+ ghc94 = ghc945;
479510 ghc961 = callPackage ../development/haskell-modules {
480511 buildHaskellPackages = bh.packages.ghc961;
481512 ghc = bh.compiler.ghc961;