From 8b65aca289e03baf613e1160726b9f1a4a3d0079 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 22 May 2024 22:20:49 +0100 Subject: [PATCH] haskell.packages.ghc865Binary.exceptions: fix eval MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without the change the eval fails as: $ nix build --no-link -f. haskell.packages.ghc865Binary.exceptions error: attribute 'exceptions_0_10_7' missing at pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix:98:16: 97| # This became a core library in ghc 8.10., so we don’t have an "exception" attribute anymore. 98| exceptions = self.exceptions_0_10_7; | ^ 99| Did you mean exceptions_0_10_8? --- pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix index b19a5e9b1d90..4a194192ee4b 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix @@ -95,7 +95,7 @@ self: super: { ghc-lib-parser-ex = addBuildDepend self.ghc-lib-parser super.ghc-lib-parser-ex; # This became a core library in ghc 8.10., so we don’t have an "exception" attribute anymore. - exceptions = self.exceptions_0_10_7; + exceptions = self.exceptions_0_10_8; # vector 0.12.2 indroduced doctest checks that don’t work on older compilers vector = dontCheck super.vector;