From 4f6ebb60e63f3ccd1024eb2f31e653d2fe03fa66 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 22 Apr 2024 21:36:24 +0100 Subject: [PATCH] haskell.packages.ghc98.ghc-lib: fix the eval MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without the change eval fails as: $ nix build --no-link -f. haskell.packages.ghc98.ghc-lib error: … in the left operand of the update (//) operator at pkgs/development/haskell-modules/lib/compose.nix:40:7: 39| mkDerivation = drv: (args.mkDerivation drv).override f; 40| })) // { | ^ 41| overrideScope = scope: overrideCabal f (drv.overrideScope scope); error: attribute 'ghc-lib_9_8_1_20231121' missing at pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix:58:26: 57| ghc-lib-parser-ex = doDistribute self.ghc-lib-parser-ex_9_8_0_2; 58| ghc-lib = doDistribute self.ghc-lib_9_8_1_20231121; | ^ 59| megaparsec = doDistribute self.megaparsec_9_6_1; --- pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 cf197f9fb3f5..624b767f47c9 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix @@ -55,7 +55,7 @@ self: super: { th-abstraction = doDistribute self.th-abstraction_0_7_0_0; ghc-lib-parser = doDistribute self.ghc-lib-parser_9_8_2_20240223; ghc-lib-parser-ex = doDistribute self.ghc-lib-parser-ex_9_8_0_2; - ghc-lib = doDistribute self.ghc-lib_9_8_1_20231121; + ghc-lib = doDistribute self.ghc-lib_9_8_2_20240223; megaparsec = doDistribute self.megaparsec_9_6_1; # TODO: remove when aeson updates or launches a revision # see https://github.com/haskell/aeson/issues/1089 and https://github.com/haskell/aeson/pulls/1088