From 35049bc1551e58af3bbad9c655b7fbbaa056fcfa Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Sat, 19 Jan 2019 19:24:29 +0100 Subject: [PATCH] haskellPackages.megaparsec_6_5_0: Fix build Only the tests were incompatible with GHC 8.0's MonadFail change. Patching would be possible too, but just not doing the tests is simpler. --- pkgs/development/haskell-modules/configuration-common.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 901c4d38766..06f1ecd5ed0 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -720,6 +720,9 @@ self: super: { ''; }); + # A simple MonadFail patch would do too, but not doing the tests is easier + megaparsec_6_5_0 = dontCheck super.megaparsec_6_5_0; + # The standard libraries are compiled separately idris = generateOptparseApplicativeCompletion "idris" ( doJailbreak (dontCheck super.idris)