From 8488982ee3863678e5b013100de6cb1b4e4a1c7c Mon Sep 17 00:00:00 2001 From: Will Fancher Date: Sun, 15 Jul 2018 22:41:27 -0400 Subject: [PATCH] Fixed some core packages in GHCJS 8.4 --- pkgs/development/haskell-modules/configuration-ghcjs.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghcjs.nix b/pkgs/development/haskell-modules/configuration-ghcjs.nix index f1a60f5ea87..1e9492f3ec9 100644 --- a/pkgs/development/haskell-modules/configuration-ghcjs.nix +++ b/pkgs/development/haskell-modules/configuration-ghcjs.nix @@ -23,6 +23,11 @@ self: super: }; in stage1 // stage2 // { + # GHCJS does not ship with the same core packages as GHC. + # https://github.com/ghcjs/ghcjs/issues/676 + stm = self.stm_2_4_5_0; + ghc-compact = self.ghc-compact_0_1_0_0; + network = addBuildTools super.network (pkgs.lib.optional pkgs.buildPlatform.isDarwin pkgs.buildPackages.darwin.libiconv); zlib = addBuildTools super.zlib (pkgs.lib.optional pkgs.buildPlatform.isDarwin pkgs.buildPackages.darwin.libiconv); unix-compat = addBuildTools super.unix-compat (pkgs.lib.optional pkgs.buildPlatform.isDarwin pkgs.buildPackages.darwin.libiconv);