forked from hasura/graphql-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cabal.project
124 lines (103 loc) · 3.78 KB
/
cabal.project
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
-- Global project configuration.
--
-- This file can be overridden with cabal.project.local (see e.g. cabal/dev.project)
--
-- If you need to switch between several local configurations you can also create a
-- symbolic link to this file in the project root directory; e.g.:
-- $ ln -s cabal.project myconfig.project
-- $ ln -s cabal.project.freeze myconfig.project.freeze
--
-- ...and then create a new set of overrides in:
-- myconfig.project.local
--
-- ...and then invoke cabal with
-- $ cabal new-build --project-file=myconfig.project
--
-- See: https://www.haskell.org/cabal/users-guide/nix-local-build.html#configuring-builds-with-cabal-project
with-compiler: ghc-8.10.7
-- package-level parallelism:
jobs: $ncpus
packages: server
packages: server/lib/*/*.cabal
package *
-- NOTE: this gets applied to both local (hasura) packages and dependencies,
-- but optimizations for local hasura packages are overridden/controlled
-- via the 'optimize-hasura' flag.
optimization: 2
-- For tooling, e.g. 'weeder', and IDE-like stuff:
ghc-options: -fwrite-ide-info
haddock-html: true
haddock-hoogle: true
haddock-hyperlink-source: true
haddock-quickjump: true
haddock-internal: true
package graphql-engine
ghc-options: -j
haddock-options: "--show-all"
source-repository-package
type: git
location: https://github.com/hasura/kriti-lang.git
tag: v0.3.2
source-repository-package
type: git
location: https://github.com/hasura/pg-client-hs.git
tag: 9393c9113a572632b999acbd20ab85386a165103
source-repository-package
type: git
location: https://github.com/hasura/graphql-parser-hs.git
tag: 47feca50fbfe6a059d02910c283e7567fbc1d7ef
source-repository-package
type: git
location: https://github.com/hasura/ci-info-hs.git
tag: be578a01979fc95137cc2c84827f9fafb99df60f
source-repository-package
type: git
location: https://github.com/hasura/pool.git
tag: 427c8f47b5a0de858780b0a9522ad953197b1658
-- This is an unrelesaed version of "odbc"
source-repository-package
type: git
location: https://github.com/fpco/odbc.git
tag: 3d80ffdd4a2879f0debecabb56d834d2d898212b
package odbc
ghc-options: -Wwarn
-- Our CI compiles with -Werror, which is also applied to those packages
-- while it's fine for packages we maintain, we can't actually enforce
-- that third-party packages are warning-free, hence this -Wno-error.
-- When the changes in odbc are released, we can instead depend on
-- the hackage version, and remove it from this list of packages.
source-repository-package
type: git
location: https://github.com/hasura/ekg-core.git
tag: b0cdc337ca2a52e392d427916ba3e28246b396c0
source-repository-package
type: git
location: https://github.com/hasura/ekg-prometheus.git
tag: v0.2.0.0
source-repository-package
type: git
location: https://github.com/hasura/ekg-json.git
tag: 84990712c165d7e3e76b2b289640ef8b5033f12f
-- This is v1.2.5.0 with https://github.com/haskell/text/pull/348
-- cherry-picked.
-- These changes are in version 2.0, but hopefully they can get backported:
-- https://github.com/haskell/text/issues/452
source-repository-package
type: git
location: https://github.com/hasura/text.git
tag: ba0fd2bf256c996a6c85dbdc8590a6fcde41b8f8
-------- GHC 9.2 SPOCK-RELATED FORKS
-- NOTE: jberryman is a Spock maintainer now
-- see discussion: https://hasurahq.slack.com/archives/C03263T1L9W/p1649087218167979
-- This is an unreleased version of "Spock-core"
source-repository-package
type: git
location: https://github.com/agrafix/Spock.git
tag: efc06e4b4e91f63579d04eb15ec850cf7a5ebccf
subdir: Spock-core
-- This is an unreleased version of "reroute-core", needed for "Spock-core"
source-repository-package
type: git
location: https://github.com/agrafix/Spock.git
tag: efc06e4b4e91f63579d04eb15ec850cf7a5ebccf
subdir: reroute