Created
August 30, 2016 14:34
-
-
Save anonymous/dd27223eb45342f02bf3c3cb03fcba9b to your computer and use it in GitHub Desktop.
darcs setup diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- old-darcs-2.12/Setup.lhs 2016-08-30 07:33:48.000000000 -0700 | |
+++ new-darcs-2.12/Setup.lhs 2016-08-30 07:33:48.000000000 -0700 | |
@@ -75,6 +75,8 @@ | |
import qualified Control.Exception as Exception | |
+import Text.Show.Pretty | |
+ | |
catchAny f h = Exception.catch f (\e -> h (e :: Exception.SomeException)) | |
{- Template Haskell hackery for replHook while we want to support Cabal < 1.18 -} | |
@@ -146,7 +148,8 @@ | |
let pkgDescr = localPkgDescr lbi | |
let verb = fromFlag (configVerbosity flags) | |
checkForeignDeps pkgDescr lbi verb | |
- let Just lib = library pkgDescr | |
+ putStrLn $ ppShow pkgDescr -- XXX | |
+ let Just lib = library pkgDescr -- XXX pattern match failure | |
let bi = libBuildInfo lib | |
bi' <- maybeSetLibiconv flags bi lbi | |
return lbi {localPkgDescr = pkgDescr { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment