-
-
Notifications
You must be signed in to change notification settings - Fork 427
Expand file tree
/
Copy pathcabal.project
More file actions
106 lines (89 loc) · 2.87 KB
/
Copy pathcabal.project
File metadata and controls
106 lines (89 loc) · 2.87 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
packages:
servant/
servant-client-core/
servant-client/
servant-server/
servant-auth/servant-auth
servant-auth/servant-auth-client
servant-auth/servant-auth-docs
servant-auth/servant-auth-server
servant-auth/servant-auth-swagger
servant-docs/
servant-foreign/
servant-http-streams/
servant-openapi3/
servant-quickcheck/
servant-swagger/
doc/tutorial/
-- servant streaming
packages:
servant-machines/
servant-conduit/
servant-pipes/
-- servant GHCJS
-- packages:
-- servant-jsaddle/
-- Cookbooks
packages:
doc/cookbook/basic-auth
doc/cookbook/basic-streaming
doc/cookbook/curl-mock
doc/cookbook/custom-errors
doc/cookbook/db-sqlite-simple
doc/cookbook/expose-prometheus
doc/cookbook/file-upload
doc/cookbook/hoist-server-with-context
doc/cookbook/https
doc/cookbook/infinite-streams
doc/cookbook/jwt-and-basic-auth
doc/cookbook/managed-resource
doc/cookbook/named-routes
-- doc/cookbook/open-id-connect -- Bitrotted since 2019
doc/cookbook/openapi3
doc/cookbook/pagination
doc/cookbook/sentry
doc/cookbook/structuring-apis
doc/cookbook/testing
doc/cookbook/using-custom-monad
doc/cookbook/using-free-client
doc/cookbook/uverb
if(impl(ghc<9.14.1))
packages:
-- Waiting for Oleg Grenrus
doc/cookbook/db-postgres-pool
tests: True
optimization: False
-- Development flags
package *
ghc-options: -fshow-hole-constraints -fhide-source-paths
-- reorder-goals: True
-- Required as a workaround for:
-- https://github.com/haskell-cryptography/HsOpenSSL/issues/95
package HsOpenSSL
ghc-options: -optc=-Wno-discarded-qualifiers -optc=-Wno-deprecated-declarations -optc=-Wno-incompatible-pointer-types
-- Various examples depend on external packages that are not in the `servant` repository.
-- At the time of writing, these external packages have upper bounds on `servant-server`
-- that are below the version of `servant-server` in this repository.
-- As a result, without setting `allow-newer` for these packages, `cabal build all`
-- will fail, as some examples will fail to build.
allow-newer: servant-multipart:servant-server
allow-newer: servant-swagger-ui:servant-server
allow-newer: servant-swagger-ui-core:servant-server
allow-newer: servant-pagination:servant-server
-- Print ticks so that doctest type querying is consistent across GHC versions.
-- This block can be removed when we drop support for GHC 9.4 and below.
if(impl(ghc >= 9.6.1))
package servant
ghc-options: -fprint-redundant-promotion-ticks
package servant-server
ghc-options: -fprint-redundant-promotion-ticks
package lzma
flags: -pkgconfig
if(impl(ghc >= 9.14.1))
allow-newer: servant-js:base
-- Waiting for Oleg Grenrus
allow-newer: file-embed-lzma:base
allow-newer: file-embed-lzma:template-haskell
allow-newer: lzma:base
-- https://github.com/Gabriella439/Haskell-Pipes-Safe-Library/issues/71
allow-newer: pipes-safe:base