From eca445a408e9233ef3bddeefb066eb4eab30c167 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 3 May 2014 11:18:17 +0200 Subject: [PATCH] Bootstrap ghc-head with GHC 7.6.3 to see if that solves our weird compiler errors: compiler/simplCore/CoreMonad.lhs:835:10: Non type-variable argument in the constraint: MonadPlus IO (Use -XFlexibleContexts to permit this) In the context: (MonadPlus IO) While checking an instance declaration In the instance declaration for `A.Alternative CoreM' compiler/simplCore/CoreMonad.lhs:841:10: Non type-variable argument in the constraint: MonadPlus IO (Use -XFlexibleContexts to permit this) In the context: (MonadPlus IO) While checking an instance declaration In the instance declaration for `MonadPlus CoreM' --- pkgs/top-level/haskell-defaults.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/haskell-defaults.nix b/pkgs/top-level/haskell-defaults.nix index 5a84b4339e2..f9b9560bf14 100644 --- a/pkgs/top-level/haskell-defaults.nix +++ b/pkgs/top-level/haskell-defaults.nix @@ -413,7 +413,7 @@ # Reasonably current HEAD snapshot. Should *always* be lowPrio. packages_ghcHEAD = packages { ghcPath = ../development/compilers/ghc/head.nix; - ghcBinary = ghc742Binary; + ghcBinary = pkgs.haskellPackages.ghcPlain; prefFun = ghcHEADPrefs; extraArgs = { happy = pkgs.haskellPackages.happy_1_19_2;