diff --git a/pkgs/development/compilers/ghcjs/ghcjs-base.nix b/pkgs/development/compilers/ghcjs/ghcjs-base.nix index b0c604a4aeac..9c09412b027e 100644 --- a/pkgs/development/compilers/ghcjs/ghcjs-base.nix +++ b/pkgs/development/compilers/ghcjs/ghcjs-base.nix @@ -8,12 +8,14 @@ }: mkDerivation { pname = "ghcjs-base"; - version = "0.2.0.3"; + version = "0.2.1.0"; + # This is the release 0.2.1.0, but the hackage release misses test source files, + # so lets use github https://github.com/ghcjs/ghcjs-base/issues/132 src = fetchFromGitHub { owner = "ghcjs"; repo = "ghcjs-base"; - rev = "85e31beab9beffc3ea91b954b61a5d04e708b8f2"; - sha256 = "sha256-YDOfi/WZz/602OtbY8wL5jX3X+9oiGL1WhceCraczZU="; + rev = "fbaae59b05b020e91783df122249095e168df53f"; + sha256 = "sha256-x6eCAK1Hne0QkV3Loi9YpxbleNHU593E4AO8cbk2vUc="; }; libraryHaskellDepends = [ aeson attoparsec base binary bytestring containers deepseq dlist diff --git a/pkgs/development/haskell-modules/configuration-ghcjs.nix b/pkgs/development/haskell-modules/configuration-ghcjs.nix index bab115ce6417..2bfd653ccc11 100644 --- a/pkgs/development/haskell-modules/configuration-ghcjs.nix +++ b/pkgs/development/haskell-modules/configuration-ghcjs.nix @@ -18,6 +18,7 @@ self: super: inherit (self.ghc.bootPkgs) jailbreak-cabal alex happy gtk2hs-buildtools rehoo hoogle; + # Test suite fails; https://github.com/ghcjs/ghcjs-base/issues/133 ghcjs-base = dontCheck (self.callPackage ../compilers/ghcjs/ghcjs-base.nix { fetchFromGitHub = pkgs.buildPackages.fetchFromGitHub; }); @@ -35,6 +36,9 @@ self: super: # nodejs crashes during test ChasingBottoms = dontCheck super.ChasingBottoms; + # runs forever + text-short = dontCheck super.text-short; + # doctest doesn't work on ghcjs, but sometimes dontCheck doesn't seem to get rid of the dependency doctest = pkgs.lib.warn "ignoring dependency on doctest" null;