summaryrefslogtreecommitdiff
path: root/doc/bugs/Compilation_error_when_building_version_5.20140402_in_cabal_sandbox/comment_1_bd830cadaeffda0366b3ae46b34c0c55._comment
blob: 8ac4f017f77c6248dd2e1777237513a73f1f5d9b (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
[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawl1D_4vD5ueaDw8gRsIYPO3UHRKEpFfg9I"
 nickname="Dmitry"
 subject="comment 1"
 date="2014-04-04T06:40:21Z"
 content="""
Author of \"dns\" library already fixed this issue.

Next error is:
[[!format sh \"\"\"
Preprocessing executable 'git-annex' for git-annex-5.20140402...

Utility/Yesod.hs:36:8:
    Could not find module `Text.Hamlet'
    It is a member of the hidden package `shakespeare-2.0.0.1'.
    Perhaps you need to add `shakespeare' to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.
cabal: Error: some packages failed to install:
\"\"\"]]

Here is the fix:


[[!format diff \"\"\"
Index: git-annex/git-annex.cabal
===================================================================
--- git-annex.orig/git-annex.cabal
+++ git-annex/git-annex.cabal
@@ -101,7 +101,7 @@ Executable git-annex
    base (>= 4.5 && < 4.9), monad-control, MonadCatchIO-transformers,
    IfElse, text, QuickCheck >= 2.1, bloomfilter, edit-distance, process,
    SafeSemaphore, uuid, random, dlist, unix-compat, async, stm (>= 2.3),
-   data-default, case-insensitive
+   data-default, case-insensitive, shakespeare
   CC-Options: -Wall
   GHC-Options: -Wall
   Extensions: PackageImports
\"\"\"]]
"""]]