summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghcjs.nix
diff options
context:
space:
mode:
authorWill Fancher <elvishjerricco@gmail.com>2018-07-15 22:41:27 -0400
committerWill Fancher <elvishjerricco@gmail.com>2018-07-15 22:41:27 -0400
commit8488982ee3863678e5b013100de6cb1b4e4a1c7c (patch)
tree79fce84b330f37aa6c0572c67e7be5263e7167dd /pkgs/development/haskell-modules/configuration-ghcjs.nix
parent682ef85c6fdb19b1e8cd0d0a430ea4ec6dfa3954 (diff)
downloadnixpkgs-8488982ee3863678e5b013100de6cb1b4e4a1c7c.tar
nixpkgs-8488982ee3863678e5b013100de6cb1b4e4a1c7c.tar.gz
nixpkgs-8488982ee3863678e5b013100de6cb1b4e4a1c7c.tar.bz2
nixpkgs-8488982ee3863678e5b013100de6cb1b4e4a1c7c.tar.lz
nixpkgs-8488982ee3863678e5b013100de6cb1b4e4a1c7c.tar.xz
nixpkgs-8488982ee3863678e5b013100de6cb1b4e4a1c7c.tar.zst
nixpkgs-8488982ee3863678e5b013100de6cb1b4e4a1c7c.zip
Fixed some core packages in GHCJS 8.4
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghcjs.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghcjs.nix5
1 files changed, 5 insertions, 0 deletions
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);