File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -601,6 +601,11 @@ haskell-nix.haskellLib.makeCompilerDeps (stdenv.mkDerivation (rec {
601601 # The official ghc 9.2.3 tarball requires booting.
602602 + lib . optionalString ( ghc-version == "9.2.3" || ghc-version == "9.8.20230704" || src-spec . needsBooting or false ) ''
603603 python3 ./boot
604+ '' + lib . optionalString ( builtins . compareVersions ghc-version "9.14" > 0 ) ''
605+ mkdir -p libraries/ghc-boot-th-next
606+ cp libraries/ghc-boot-th/ghc-boot-th.cabal.in libraries/ghc-boot-th-next/ghc-boot-th-next.cabal.in
607+ substituteInPlace libraries/ghc-boot-th-next/ghc-boot-th-next.cabal.in \
608+ --replace-fail "ghc-boot-th" "ghc-boot-th-next"
604609 '' ;
605610
606611 configurePlatforms = [ "build" "host" ] ++ lib . optional ( ! targetPlatform . isGhcjs ) "target" ;
You can’t perform that action at this time.
0 commit comments