mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-10 00:10:19 +03:00
27 lines
941 B
Diff
27 lines
941 B
Diff
From: hololeap <hololeap@protonmail.com>
|
|
Signed-off-by: hololeap <hololeap@protonmail.com>
|
|
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)
|
|
|