summaryrefslogtreecommitdiff
path: root/standalone/android/haskell-patches/yesod-persistent_1.1.0.1_0001-avoid-TH.patch
blob: 6a28b3fd16008da209dade8aea6297bed238b854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From 62cc9e3f70d8cea848d56efa198a68527fd07267 Mon Sep 17 00:00:00 2001
From: Joey Hess <joey@kitenet.net>
Date: Thu, 28 Feb 2013 23:40:19 -0400
Subject: [PATCH] avoid TH

---
 Yesod/Persist.hs       |    2 --
 yesod-persistent.cabal |    1 -
 2 files changed, 3 deletions(-)

diff --git a/Yesod/Persist.hs b/Yesod/Persist.hs
index 0646152..5130497 100644
--- a/Yesod/Persist.hs
+++ b/Yesod/Persist.hs
@@ -7,11 +7,9 @@ module Yesod.Persist
     , get404
     , getBy404
     , module Database.Persist
-    , module Database.Persist.TH
     ) where
 
 import Database.Persist
-import Database.Persist.TH
 import Control.Monad.Trans.Class (MonadTrans)
 
 import Yesod.Handler
diff --git a/yesod-persistent.cabal b/yesod-persistent.cabal
index 111c1b9..07f6e17 100644
--- a/yesod-persistent.cabal
+++ b/yesod-persistent.cabal
@@ -16,7 +16,6 @@ library
     build-depends:   base                      >= 4        && < 5
                    , yesod-core                >= 1.1      && < 1.2
                    , persistent                >= 1.0      && < 1.2
-                   , persistent-template       >= 1.0      && < 1.2
                    , transformers              >= 0.2.2    && < 0.4
     exposed-modules: Yesod.Persist
     ghc-options:     -Wall
-- 
1.7.10.4