Skip to content

Commit 084d212

Browse files
committed
Improve dependencies
1 parent 703a467 commit 084d212

1 file changed

Lines changed: 163 additions & 1 deletion

File tree

cabal.project

Lines changed: 163 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ repository cardano-haskell-packages
1212
index-state:
1313
, hackage.haskell.org 2024-10-10T00:52:24Z
1414
, cardano-haskell-packages 2024-11-26T16:00:26Z
15+
active-repositories:
16+
, :rest
17+
, cardano-haskell-packages:override
1518

1619
packages:
1720
cardano-db
@@ -73,12 +76,26 @@ allow-newer:
7376
-- quickcheck-state-machine that does not compile with ghc-9.10 so we allow a never version
7477
-- that builds with ghc-9.10 (and earlier).
7578
, ouroboros-consensus:quickcheck-state-machine
79+
-- The haskell.nix plan-to-nix phase uses dummy-ghc-9.10.1 (base-4.20,
80+
-- containers-0.7, deepseq-1.5) but many CHaPs packages at our index-state
81+
-- have tighter bounds on boot libraries. The actual build uses GHC 8.10.
82+
, *:base
83+
, megaparsec:deepseq
84+
, validation-selective:deepseq
85+
, *:containers
86+
, *:bytestring
87+
, *:template-haskell
88+
, persistent-postgresql:postgresql-libpq
7689

7790
constraints:
7891
-- STM 2.5.2 is broken: https://github.com/haskell/stm/issues/76
7992
, stm >= 2.5.3.1
8093
-- Earlier versions do not compile with ghc-9.10.
8194
, quickcheck-state-machine ^>= 0.10
95+
, typed-protocols == 0.1.1.0
96+
, hashable == 1.4.7.0
97+
, megaparsec == 9.2.1
98+
, postgresql-libpq == 0.11.0.0
8299

83100
-- ---------------------------------------------------------
84101

@@ -87,14 +104,159 @@ constraints:
87104
-- --------------------------- 8< --------------------------
88105
-- Please do not put any `source-repository-package` clause above this line.
89106

107+
-- Pinning 0.6 given by cabal freeze of 13.6.0.7:
108+
-- any.flat ==0.6
109+
-- Without it building fails with:
110+
-- > rejecting: flat-0.4.4.0.0.0.0.2 (conflict: plutus-tx => flat^>=0.6)
111+
source-repository-package
112+
type: git
113+
location: https://github.com/Quid2/flat
114+
tag: 3014e2dde892635c4f46037ba929ec514e0f130f
115+
--sha256: sha256-o6xW+CfrGfbZPBT4Bt1osZ+8vscPGd/mkqrA2esV/BY=
116+
117+
-- Pinning 1.5 given by cabal freeze of 13.6.0.7:
118+
-- any.io-classes ==1.5.0.0,
119+
-- Without it building fails with:
120+
-- > rejecting: io-classes-0.6.0.0 (conflict: typed-protocols =>
121+
-- > io-classes>=1.0 && <1.6)
122+
source-repository-package
123+
type: git
124+
location: https://github.com/input-output-hk/io-sim
125+
tag: a22dced7d012d10227ab0fe370889665c064caf9
126+
--sha256: sha256-U8DERJj4t1h8kVwv9NovfKuxfTgb1E15q2EAhAT6Zes=
127+
subdir:
128+
io-classes
129+
io-classes-mtl
130+
io-sim
131+
si-timers
132+
strict-mvar
133+
strict-stm
134+
135+
-- Pinning 1.5 given by cabal freeze of 13.6.0.7:
136+
-- any.hedgehog ==1.5,
137+
-- Without it building fails with:
138+
-- > rejecting: hedgehog-1.2.0.0.0.0.1 (conflict: tasty-hedgehog =>
139+
-- > hedgehog>=1.4 && <1.6)
140+
source-repository-package
141+
type: git
142+
location: https://github.com/hedgehogqa/haskell-hedgehog
143+
tag: 4c5424db30eee67423ddd80745d03e487a223ade
144+
--sha256: sha256-l8pr/peym3VvlQQaYRpSSTD+i5xvEHwqf40atyk40rc=
145+
subdir:
146+
hedgehog
147+
148+
-- Pinning 0.18.1.0 given by cabal freeze of 13.6.0.7:
149+
-- any.optparse-applicative ==0.18.1.0,
150+
-- Without it building fails with:
151+
-- > rejecting: optparse-applicative-0.16.2.1 (conflict: criterion =>
152+
-- > optparse-applicative>=0.18 && <0.19)
153+
source-repository-package
154+
type: git
155+
location: https://github.com/pcapriotti/optparse-applicative
156+
tag: 270a626f7a7225cdce9b025b427eb0c4378c39c7
157+
--sha256: sha256-64KLKHpIyEg+jLfpj2PI0iFIS/e67IRZKAwHSZSwVYI=
158+
159+
-- Pinning fs-sim 0.3.0.0 given by cabal freeze of 13.6.0.7.
160+
-- CHaPs only has fs-sim-0.2.x but ouroboros-consensus-diffusion => fs-sim ^>=0.3
161+
source-repository-package
162+
type: git
163+
location: https://github.com/input-output-hk/fs-sim
164+
tag: 82feefcc58101dbe183b9776da1b3bf992bcc2df
165+
--sha256: sha256-5d+IrpPcCh4poWZAxzdTccG04faqVJ3X7/gh72ur0E0=
166+
subdir:
167+
fs-sim
168+
fs-api
169+
170+
-- Pinning persistent 2.14.6.2 (equivalent to hackage 2.14.6.3 minus a
171+
-- template-haskell bound bump we don't need).
172+
-- CHaPs has persistent-2.14.5.0.0.0.0.0.1 which doesn't compile with aeson >=2.2
173+
-- (missing attoparsec-aeson dependency).
174+
source-repository-package
175+
type: git
176+
location: https://github.com/yesodweb/persistent
177+
tag: 2f1adc0cc396425a7e6b3565b97709f531016981
178+
--sha256: sha256-iLUudtPQf4/PVSwNNn3nxsm7nD4//BdKfo2SONmLzyk=
179+
subdir:
180+
persistent
181+
182+
-- Pinning persistent-postgresql 2.13.6.2 given by cabal freeze of 13.6.0.7.
183+
-- CHaPs has persistent-postgresql-2.13.5.2.0.0.0.0.1 which constrains
184+
-- postgresql-libpq <0.10, conflicting with postgresql-libpq-0.11.0.0.
185+
source-repository-package
186+
type: git
187+
location: https://github.com/yesodweb/persistent
188+
tag: 0bdc0d2dda11abb29f213fb785e8d33d0036bbc3
189+
--sha256: sha256-5b4rdVS401H9DLbny65c8gJpzHfq28XSftGIt5xoshQ=
190+
subdir:
191+
persistent-postgresql
192+
193+
-- Pinning servant-server 0.20.2 given by cabal freeze of 13.6.0.7.
194+
-- CHaPs has servant-server-0.19.2.0.0.0.0.1 which constrains constraints <0.14,
195+
-- conflicting with sop-extras => constraints-0.14.2.
196+
source-repository-package
197+
type: git
198+
location: https://github.com/haskell-servant/servant
199+
tag: 6014370a99b4a8bb85b7a91895b6186a727b086a
200+
--sha256: sha256-OW5R6RYRZ3i+xSKUILPDPNjt+yB8YJKlrIQ5TW3N3ho=
201+
subdir:
202+
servant
203+
servant-server
204+
205+
-- CHaPs has vector-algorithms-0.9.0.1.0.0.0.0.1 which constrains primitive <0.9,
206+
-- conflicting with primitive-0.9.0.0. Using 0.9.1.0 which supports primitive <0.10.
207+
source-repository-package
208+
type: git
209+
location: https://github.com/erikd/vector-algorithms
210+
tag: 57e00a866815d0b8317f4cac6f2936408cf569ff
211+
--sha256: sha256-058WWelwaoiKgnOaI64iWOS1XhOqOYdbCK5v5cjjMFk=
212+
213+
-- Pinning hackage versions that CHaPs overrides with older/incompatible ones.
214+
-- source-repository-package
215+
-- type: git
216+
-- location: https://github.com/haskell-foundation/foundation
217+
-- tag: 6d2b86c1a0393543a1812115c9b5c92086f7c855
218+
-- --sha256: sha256-263OLjFdYA5bYGCcLjAql5au/gEf7sEazug9Dx2oYe4=
219+
-- subdir:
220+
-- foundation
221+
-- basement
222+
--
223+
-- source-repository-package
224+
-- type: git
225+
-- location: https://github.com/haskell-streaming/streaming
226+
-- tag: 804f2ec54fea144faefa691ea3a622cd0d714d98
227+
-- --sha256: sha256-4IYTasNUgN/W4nbS5eNUo9jllkGuG72t/FttQeVdYCs=
228+
--
229+
-- source-repository-package
230+
-- type: git
231+
-- location: https://github.com/input-output-hk/bech32
232+
-- tag: 5a42857dfe454bb27a899f891cac8415d66d0292
233+
-- --sha256: sha256-U9h6L1OIl8KQCOZKbLaH7ykElhijmb5LKBMCHXGPscU=
234+
-- subdir:
235+
-- bech32
236+
--
237+
-- source-repository-package
238+
-- type: git
239+
-- location: https://github.com/input-output-hk/hedgehog-extras
240+
-- tag: 2a7d307f52da34ca55e2b20cc6957dd175741574
241+
-- --sha256: sha256-2PlXYM/MgGov+ln/vghtbqWmJpxQG3mUh6HiDhBExMk=
242+
--
243+
-- unliftio-core srp doesn't work (package.yaml only, no .cabal file).
244+
-- Not in CHaPs so :override doesn't affect it — version change is a ripple effect.
245+
-- source-repository-package
246+
-- type: git
247+
-- location: https://github.com/fpco/unliftio
248+
-- tag: b7ca684dc7e18d8a561f801cd4294b375897dd77
249+
-- --sha256: sha256-1p1TkpJ3dJb998Y5io8wZ07IZ4EGsFnT6BO5H+sEGcI=
250+
-- subdir:
251+
-- unliftio-core
252+
90253
source-repository-package
91254
type: git
92255
location: https://github.com/IntersectMBO/cardano-node
93256
tag: 36871ba0cd3e86a5dbcfd6878cdb7168bb4e56a1
94257
--sha256: sha256-v0q8qHdI6LKc8mP43QZt3UGdTNDQXE0aF6QapvZsTvU=
95258
subdir:
96259
cardano-node
97-
cardano-submit-api
98260
trace-dispatcher
99261
trace-forward
100262
trace-resources

0 commit comments

Comments
 (0)