From 0aa81627caf3a3140f4620f7406c6710289ba89d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 8 May 2013 12:52:48 -0400 Subject: add a hack to get build working with new library build --- Build/EvilSplicer.hs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Build/EvilSplicer.hs b/Build/EvilSplicer.hs index 642e2a03e..8f203437a 100644 --- a/Build/EvilSplicer.hs +++ b/Build/EvilSplicer.hs @@ -299,6 +299,7 @@ mangleCode = flip_colon . case_layout . case_layout_multiline . yesod_url_render_hack + . text_builder_hack . nested_instances . collapse_multiline_strings . remove_package_version @@ -515,6 +516,10 @@ yesod_url_render_hack = parsecAndReplace $ do token :: Parser String token = many1 $ satisfy isAlphaNum <|> oneOf "_" +{- Use exported symbol. -} +text_builder_hack :: String -> String +text_builder_hack = replace "Data.Text.Lazy.Builder.Internal.fromText" "Data.Text.Lazy.Builder.fromText" + {- Given a Parser that finds strings it wants to modify, - and returns the modified string, does a mass - find and replace throughout the input string. -- cgit v1.2.3