From 9ca9e6efffd4620ebd2e58a16a9c804a6da6ccf0 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Thu, 26 Feb 2026 13:00:09 +0100 Subject: [PATCH] haskell.packages.ghc{94,96,98}: add missing ghc-experimental attr There is no way to provide this package for those older versions of GHC, but some packages take it as an input, so we need to have the attribute to prevent callPackage from failing. --- pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix | 3 ++- pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix | 3 ++- pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix index 5483021c3e73..36bbe2539b5d 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix @@ -58,7 +58,8 @@ self: super: { # Becomes a core package in GHC >= 9.10 os-string = doDistribute self.os-string_2_0_10; - # Becomes a core package in GHC >= 9.10, no release compatible with GHC < 9.10 is available + # Become core packages in GHC >= 9.10, no release compatible with GHC < 9.10 is available + ghc-experimental = null; ghc-internal = null; # Become core packages in GHC >= 9.10, but aren't uploaded to Hackage ghc-toolchain = null; diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix index 414ad17b0c81..f7603f5a088d 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix @@ -66,7 +66,8 @@ in # Becomes a core package in GHC >= 9.10 os-string = doDistribute self.os-string_2_0_10; - # Becomes a core package in GHC >= 9.10, no release compatible with GHC < 9.10 is available + # Become core packages in GHC >= 9.10, no release compatible with GHC < 9.10 is available + ghc-experimental = null; ghc-internal = null; # Become core packages in GHC >= 9.10, but aren't uploaded to Hackage ghc-toolchain = null; diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix index 84238d0fcde5..9150d4031bc7 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix @@ -66,7 +66,8 @@ in # Becomes a core package in GHC >= 9.10 os-string = doDistribute self.os-string_2_0_10; - # Becomes a core package in GHC >= 9.10, no release compatible with GHC < 9.10 is available + # Become core packages in GHC >= 9.10, no release compatible with GHC < 9.10 is available + ghc-experimental = null; ghc-internal = null; # Become core packages in GHC >= 9.10, but aren't uploaded to Hackage ghc-toolchain = null;