Commit da8f456d authored by Petr Pudlak's avatar Petr Pudlak

Fix the Attoparsec import in THH.hs

As of attoparsec 0.12 the main module is deprecated, which causes the
build to fail. Therefore import the same attoparsec sub-module that is
used by other Ganeti modules.
Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
parent cbcc7e03
......@@ -69,7 +69,8 @@ import Control.Monad
import Control.Monad.Base () -- Needed to prevent spurious GHC linking errors.
import Control.Monad.Writer (tell)
import qualified Control.Monad.Trans as MT
import Data.Attoparsec () -- Needed to prevent spurious GHC 7.4 linking errors.
import Data.Attoparsec.Text ()
-- Needed to prevent spurious GHC 7.4 linking errors.
-- See issue #683 and https://ghc.haskell.org/trac/ghc/ticket/4899
import Data.Char
import Data.Function (on)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment