Skip to content

Commit 7e674d0

Browse files
committedJul 22, 2015
Merge pull request #262 from ntc2/master
Only require cryptol-server's build depends when it's being built. Workaround for haskell/cabal#1725
2 parents 0d61ed1 + 7c52103 commit 7e674d0

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed
 

‎cryptol.cabal

+8-9
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,14 @@ executable cryptol-server
208208
main-is: Main.hs
209209
hs-source-dirs: cryptol-server
210210
other-modules: Cryptol.Aeson
211-
build-depends: aeson >= 0.9
211+
default-language: Haskell2010
212+
default-extensions: OverloadedStrings
213+
GHC-options: -Wall -O2
214+
ghc-prof-options: -auto-all -prof -rtsopts
215+
if os(linux) && flag(static)
216+
ld-options: -static -pthread
217+
if flag(server)
218+
build-depends: aeson >= 0.9
212219
, aeson-pretty >= 0.7
213220
, base
214221
, bytestring >= 0.10
@@ -219,13 +226,5 @@ executable cryptol-server
219226
, transformers
220227
, unordered-containers >= 0.2
221228
, zeromq4-haskell >= 0.6
222-
default-language: Haskell2010
223-
default-extensions: OverloadedStrings
224-
GHC-options: -Wall -O2
225-
ghc-prof-options: -auto-all -prof -rtsopts
226-
if os(linux) && flag(static)
227-
ld-options: -static -pthread
228-
if flag(server)
229-
buildable: True
230229
else
231230
buildable: False

0 commit comments

Comments
 (0)
Please sign in to comment.