Repository navigation
Expand file tree
/
Copy pathcabal.project
More file actions
129 lines (112 loc) · 3.97 KB
/
Copy pathcabal.project
File metadata and controls
129 lines (112 loc) · 3.97 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
-- Custom repository for cardano haskell packages, see CONTRIBUTING for more
repository cardano-haskell-packages
url: https://chap.intersectmbo.org/
secure: True
root-keys:
3e0cce471cf09815f930210f7827266fd09045445d65923e6d0238a6cd15126f
443abb7fb497a134c343faf52f0b659bd7999bc06b7f63fa76dc99d631f9bea1
a86a1f6ce86c449c46666bda44268677abf29b5b2d2eb5ec7af903ec2f117a82
bcec67e8e99cabfa7764d75ad9b158d72bfacf70ca1d0ec8bc6b4406d1bf8413
c00aae8461a256275598500ea0e187588c35a5d5d7454fb57eac18d9edb86a56
d4a35cd3121aa00d18544bb0ac01c3e1691d618f462c46129271bccf39f7e8ee
-- See CONTRIBUTING for information about these, including some Nix commands
-- you need to run if you change them
index-state:
, hackage.haskell.org 2026-09-29T11:48:37Z
, cardano-haskell-packages 2026-11-05T14:52:50Z
packages:
cardano-cli
program-options
ghc-options: -Werror
package crypton
-- Using RDRAND instead of /dev/urandom as an entropy source for key
-- generation is dubious. Set the flag so we use /dev/urandom by default.
flags: -support_rdrand
package bitvec
-- Workaround for windows cross-compilation
flags: -simd
extra-packages: Cabal
if impl(ghc < 9.14)
constraints:
-- haskell.nix patch does not work for 1.6.8
, any.crypton-x509-system (< 1.6.8 || >= 1.7)
if os(windows)
constraints: time ^>=1.14
allow-newer: *:time
-- Needed for running tests with WINE (see https://github.com/haskell/network/issues/604)
constraints: network <3.2.8.0
-- cardano-config and kes-agent (pulled in by ouroboros-consensus 5.0 and
-- cardano-api) require network ^>=3.2.8, but they only need APIs that are
-- already in 3.2.7, so let them accept the WINE-compatible network pinned
-- above.
allow-older:
, cardano-config:network
, kes-agent:network
-- cardano-ledger-binary 1.9.0.0 reversed the byte order of relay IPv4 addresses (cardano-cli#1442)
constraints: cardano-ledger-binary >=1.9.1
-- Depending on C++ for just so slightly faster utf8 parsing is a bit annoying
-- especially as it brings in all kinds of complications for GHC.
package text
flags: -simdutf
-- formatting (>= 7.2) allows us do drop double-conversion (which again is one
-- of the offending c++ dependencies)
package formatting
flags: +no-double-conversion
tests: True
test-show-details: direct
-- enable parallel builds
jobs: $ncpus
semaphore: True
-- Always write GHC env files, because they are needed for ghci.
write-ghc-environment-files: always
-- IMPORTANT
-- Do NOT add more source-repository-package stanzas here unless they are strictly
-- temporary! Please read the section in CONTRIBUTING about updating dependencies.
-- Allow network-mux 0.11 from SRP (cardano-ping 0.10 on CHaP expects ^>=0.10)
-- Allow grapesy deps with updated bounds (matching cardano-node)
allow-newer:
, cardano-ping:network-mux
, grapesy:aeson
, grapesy:crypton-x509
, grapesy:crypton-x509-store
, grapesy:crypton-x509-system
, grapesy:crypton-x509-validation
, grapesy:http2
, grapesy:http2-tls
, grapesy:network-run
, grapesy:tls
-- kes-agent bounds cardano-crypto-class ^>=2.5 but we have a newer version
, kes-agent:cardano-crypto-class
, kes-agent-crypto:cardano-crypto-class
-- cabal-allow-newer begin
if impl(ghc >= 9.14)
allow-newer:
, bytestring-trie:base
, canonical-json:containers
, cborg:base
, cborg:containers
, cborg-json:base
, compact:base
, dependent-map:containers
, dictionary-sharing:containers
, diff-containers:base
, fs-sim:QuickCheck
, grapesy:base
, grapesy:containers
, grapesy:tls
, grpc-spec:base
, grpc-spec:containers
, lens-family:containers
, lens-family-core:containers
, lsm-tree:data-elevator
, ordered-containers:containers
, partial-order:containers
, safe-wild-cards:template-haskell
, serdoc-core:template-haskell
, serialise:base
, serialise:containers
, serialise:time
, tdigest:base
, time-locale-compat:time
, with-utf8:base
-- cabal-allow-newer end