summaryrefslogtreecommitdiff
blob: fa6c446cf38bd52bcbf96d47ccae46ebf8c867fc (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
From 4cd81196f7a477327ce87971b376e785f362b9b7 Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyfox@gentoo.org>
Date: Fri, 24 Jan 2020 08:09:34 +0000
Subject: [PATCH 1/3] hackport.cabal: add missing test depends

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
---
 hackport.cabal | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/hackport.cabal b/hackport.cabal
index 94d345292..049933e00 100644
--- a/hackport.cabal
+++ b/hackport.cabal
@@ -76,6 +76,7 @@ Executable    hackport
     GeneralizedNewtypeDeriving,
     KindSignatures,
     MultiParamTypeClasses,
+    -- cabal
     PatternGuards,
     RankNTypes,
     RecordWildCards,
@@ -86,7 +87,6 @@ Executable    hackport
     ViewPatterns
   other-extensions:
     DeriveDataTypeable,
-    PatternGuards,
     -- extensions due to bundled cabal-install
     CPP,
     ForeignFunctionInterface,
@@ -151,9 +151,15 @@ Test-Suite test-resolve-category
                         pretty,
                         process,
                         split,
+                        text,
                         time,
+                        transformers,
                         unix,
                         xml
+  default-extensions:
+    -- cabal
+    PatternGuards,
+    DoAndIfThenElse
 
 Test-Suite test-print-deps
   ghc-options: -Wall
@@ -174,9 +180,15 @@ Test-Suite test-print-deps
                         parsec,
                         pretty,
                         process,
+                        text,
                         time,
+                        transformers,
                         unix,
                         xml
+  default-extensions:
+    -- cabal
+    PatternGuards,
+    DoAndIfThenElse
 
 Test-Suite test-normalize-deps
   ghc-options: -Wall
@@ -197,6 +209,13 @@ Test-Suite test-normalize-deps
                         parsec,
                         pretty,
                         process,
+                        text,
                         time,
+                        transformers,
                         unix,
                         xml
+
+  default-extensions:
+    -- cabal
+    PatternGuards,
+    DoAndIfThenElse
-- 
2.25.0