From 53ddfcdf9b82b71c54ac46084b5d8573809e1fa8 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 2 Jan 2024 07:57:26 +0000 Subject: haskell.packages.ghcjs: fix `stm` eval MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before the change an attempt to instantiate `stm` package failed as: $ nix build --no-link -f. haskell.packages.ghcjs.stm error: … in the left operand of the update (//) operator at /home/slyfox/dev/git/nixpkgs-haskell-updates/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 'stm_2_5_1_0' missing at /home/slyfox/dev/git/nixpkgs-haskell-updates/pkgs/development/haskell-modules/configuration-ghcjs.nix:29:21: 28| # https://github.com/ghcjs/ghcjs/issues/676 29| stm = doJailbreak self.stm_2_5_1_0; | ^ 30| exceptions = dontCheck self.exceptions_0_10_7; Did you mean stm_2_5_3_0? --- pkgs/development/haskell-modules/configuration-ghcjs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/development/haskell-modules') diff --git a/pkgs/development/haskell-modules/configuration-ghcjs.nix b/pkgs/development/haskell-modules/configuration-ghcjs.nix index c2cafa14a674..d98107957e6c 100644 --- a/pkgs/development/haskell-modules/configuration-ghcjs.nix +++ b/pkgs/development/haskell-modules/configuration-ghcjs.nix @@ -26,7 +26,7 @@ self: super: # GHCJS does not ship with the same core packages as GHC. # https://github.com/ghcjs/ghcjs/issues/676 - stm = doJailbreak self.stm_2_5_1_0; + stm = doJailbreak self.stm_2_5_3_0; exceptions = dontCheck self.exceptions_0_10_7; ## OTHER PACKAGES -- cgit 1.4.1