summaryrefslogtreecommitdiff
blob: e43398c6060b028fd36aba7b0c7eebbcb6025895 (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
From c68a1aac64081c14739361c87fd7d8342c5382ee Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyfox@gentoo.org>
Date: Sun, 22 May 2011 12:36:02 +0300
Subject: [PATCH] .cabal: fix depends for 'cabal configure -fbuildtests'

$ cabal configure -fbuildtests
$ cabal build

Database/HDBC/SqlValue.hs:25:17:
    Could not find module `Data.Text.Lazy':
      It is a member of the hidden package `text-0.11.0.6'.
      Perhaps you need to add `text' to the build-depends in your .cabal file.
      Use -v to see a list of the files searched for.

Added missing depend for test.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
---
 HDBC.cabal |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/HDBC.cabal b/HDBC.cabal
index fb7d996..5de5f3e 100644
--- a/HDBC.cabal
+++ b/HDBC.cabal
@@ -68,7 +68,7 @@ Executable runtests
           Build-Depends: time<1.1.3
       else
         Build-Depends: base<3
-      Build-Depends: mtl, convertible >= 1.0.9.1, utf8-string
+      Build-Depends: mtl, convertible >= 1.0.9.1, utf8-string, text
 
       -- Hack for cabal-install weirdness.  cabal-install forces base 3,
       -- though it works fine for Setup.lhs manually.  Fix.
-- 
1.7.3.4