From b2b09e45e3cba3f19c86b2925a58b468b474c466 Mon Sep 17 00:00:00 2001 From: Hamish Mackenzie Date: Fri, 28 Mar 2025 15:09:05 +1300 Subject: [PATCH] Build hadrian with ghc 9.6.6 if available. --- compiler/ghc/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/ghc/default.nix b/compiler/ghc/default.nix index 929a3f0eb2..a84d394c0a 100644 --- a/compiler/ghc/default.nix +++ b/compiler/ghc/default.nix @@ -259,6 +259,8 @@ let compiler-nix-name = if builtins.compareVersions ghc-version "9.4.7" < 0 then "ghc928" + else if buildPackages.haskell.compiler ? ghc966 + then "ghc966" else if buildPackages.haskell.compiler ? ghc964 then "ghc964" else "ghc962";