@@ -29,8 +29,6 @@ common shared
29
29
, base >= 4.9 && < 4.20
30
30
-- this needs to match the in-tree lib:Cabal version
31
31
, Cabal ^>= 3.11.0.0
32
- , Cabal-syntax ^>= 3.11.0.0
33
- , Cabal-tests
34
32
35
33
ghc-options :
36
34
-Wall
@@ -62,9 +60,9 @@ library
62
60
Test.Cabal.ScriptEnv0
63
61
64
62
build-depends :
63
+ , Cabal-tests
65
64
, aeson ^>= 1.4.2.0 || ^>= 1.5.0.0 || ^>= 2.0.0.0 || ^>= 2.1.0.0 || ^>= 2.2.1.0
66
65
, async ^>= 2.2.1
67
- , attoparsec ^>= 0.13.2.2 || ^>= 0.14.1
68
66
, base16-bytestring ^>= 0.1.1.5 || ^>= 1.0
69
67
, bytestring ^>= 0.10.0.2 || ^>= 0.11.0.0 || ^>= 0.12.0.0
70
68
, containers ^>= 0.5.0.0 || ^>= 0.6.0.1 || ^>= 0.7
@@ -79,7 +77,6 @@ library
79
77
, regex-tdfa ^>= 1.2.3.1 || ^>= 1.3.1.0
80
78
, retry ^>= 0.9.1.0
81
79
, array ^>= 0.4.0.1 || ^>= 0.5.0.0
82
- , temporary ^>= 1.3
83
80
, text ^>= 1.2.3.1 || ^>= 2.0.1 || ^>= 2.1
84
81
, transformers ^>= 0.3.0.0 || ^>= 0.4.2.0 || ^>= 0.5.2.0 || ^>= 0.6.0.2
85
82
@@ -101,11 +98,9 @@ executable cabal-tests
101
98
, cabal-testsuite
102
99
-- constraints inherited via lib:cabal-testsuite component
103
100
, async
104
- , exceptions
105
101
, filepath
106
102
, optparse-applicative
107
103
, process
108
- , transformers
109
104
-- dependencies specific to exe:cabal-tests
110
105
, clock ^>= 0.7.2 || ^>= 0.8
111
106
, directory
@@ -127,23 +122,24 @@ executable setup
127
122
-- If you require an external dependency for a test it must be listed here.
128
123
executable test-runtime-deps
129
124
default-language : Haskell2010
130
- build-depends : cabal-testsuite,
131
- base,
132
- directory,
133
- Cabal,
134
- Cabal-syntax,
135
- filepath,
136
- transformers,
137
- bytestring,
138
- time,
139
- process,
140
- exceptions
125
+ -- Apart from base that is a compile-time dependency, the rest are runtime dependencies
126
+ build-depends :
127
+ , Cabal
128
+ , Cabal-syntax
129
+ , base
130
+ , bytestring
131
+ , cabal-testsuite
132
+ , directory
133
+ , exceptions
134
+ , filepath
135
+ , process
136
+ , time
137
+ , transformers
141
138
main-is : static/Main.hs
142
139
if !os(windows)
143
140
build-depends : unix
144
141
else
145
- build-depends :
146
- , Win32
142
+ build-depends : Win32
147
143
148
144
custom-setup
149
145
-- we only depend on even stable releases of lib:Cabal
0 commit comments