From: hololeap Signed-off-by: hololeap Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1231 Small fix to get doctest working diff -urN email-validate-2.3.2.15/src/Text/Email/QuasiQuotation.hs email-validate-2.3.2.15-r1/src/Text/Email/QuasiQuotation.hs --- email-validate-2.3.2.15/src/Text/Email/QuasiQuotation.hs 2021-07-04 14:50:48.000000000 -0600 +++ email-validate-2.3.2.15-r1/src/Text/Email/QuasiQuotation.hs 2022-03-17 17:33:15.666925125 -0600 @@ -4,6 +4,7 @@ #else {-# LANGUAGE TemplateHaskell #-} #endif +{-# LANGUAGE PackageImports #-} module Text.Email.QuasiQuotation ( email @@ -11,7 +12,7 @@ import qualified Data.ByteString.Char8 as BS8 -import Language.Haskell.TH.Quote (QuasiQuoter(..)) +import "template-haskell" Language.Haskell.TH.Quote (QuasiQuoter(..)) import Text.Email.Validate (validate, localPart, domainPart, unsafeEmailAddress)