From 07cb32debe7052211fa60aa6bb2f991f57b7c626 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Fri, 5 Sep 2025 09:30:24 +0200 Subject: [PATCH 1/2] haskell.packages.native-bignum: exclude recurseForDerivations This was accidentally introduced when it was added to `haskell.compiler`. This code is a bit odd, because it iterates through the compiler attributes and then tries to access the same name in packages, which fails in this case. Seems like this was just a copy-paste error, this should iterate through packages instead. --- pkgs/top-level/haskell-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 6504271d512b3..28bde4c921693 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -679,7 +679,7 @@ in native-bignum = let nativeBignumGhcNames = pkgs.lib.filter (name: !(builtins.elem name nativeBignumExcludes)) ( - pkgs.lib.attrNames compiler + pkgs.lib.attrNames packages ); in pkgs.lib.genAttrs nativeBignumGhcNames ( From 2f336e2a073df0f60e56f68b49f0301de8683975 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Fri, 5 Sep 2025 09:30:54 +0200 Subject: [PATCH 2/2] haskell.packages.integer-simple: remove unused includes These versions were dropped from Nixpkgs already. --- pkgs/top-level/haskell-packages.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 28bde4c921693..38a85aa064f14 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -10,8 +10,6 @@ let # These are attributes in compiler that support integer-simple. integerSimpleIncludes = [ - "ghc88" - "ghc884" "ghc810" "ghc8107" ];