Skip to content

Commit 449e556

Browse files
committed
Bump CHaP, remove some source-repository-packages
1 parent a0b0003 commit 449e556

File tree

4 files changed

+39
-39
lines changed

4 files changed

+39
-39
lines changed

cabal.project

+18-17
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repository cardano-haskell-packages
1313
-- See CONTRIBUTING for information about these, including some Nix commands
1414
-- you need to run if you change them
1515
index-state: 2022-07-01T00:00:00Z
16-
index-state: cardano-haskell-packages 2022-08-31T08:36:45Z
16+
index-state: cardano-haskell-packages 2022-10-12T00:00:00Z
1717

1818
packages:
1919
cardano-api
@@ -84,6 +84,23 @@ constraints:
8484
, algebraic-graphs < 0.7
8585
, protolude < 0.3.1
8686

87+
-- CONSTRAINTS FOR UPSTREAM CARDANO PACKAGES
88+
-- These should all be constraints in upstream packages, but are currently missing.
89+
-- We should a) fix these upstream and b) revise the constraints on the released
90+
-- version in CHaP. Unfortunately revisions in CHaP don't work yet, revisit this
91+
-- when we fix it.
92+
93+
-- cardano-crypto-wrapper: broken by cardano-prelude-0.1.0.1 which moves HeapWords out
94+
, cardano-prelude < 0.1.0.1
95+
-- cardano-ledger-byron: broken by cardano-binary-1.5.0.1 which includes some functions
96+
-- that used to be in cardano-prelude
97+
, cardano-binary < 1.5.0.1
98+
-- plutus: cardano-crypto-class-2.0.0.1 changes the signatures of some DSIGN functions for secp256k1
99+
, cardano-crypto-class < 2.0.0.1
100+
-- cardano-crypto-tests: we required cardano-crypto-class-2.0.0.0 above, which is broken with
101+
-- newer cardano-crypto-tests
102+
, cardano-crypto-tests < 2.0.0.1
103+
87104
package snap-server
88105
flags: +openssl
89106

@@ -100,22 +117,6 @@ allow-newer:
100117
-- Do NOT add more source-repository-package stanzas here unless they are strictly
101118
-- temporary! Please read the section in CONTRIBUTING about updating dependencies.
102119

103-
-- TODO (mpj): remove this once https://github.com/input-output-hk/ekg-forward/pull/10
104-
-- is merged and released to CHaP
105-
source-repository-package
106-
type: git
107-
location: https://github.com/input-output-hk/ekg-forward
108-
tag: 8a21e6c3fd9b306e07e0e0f39047032c97789b38
109-
--sha256: 170vgf94g6fhc2p2cx58gqy9520gs39ddl7q4lkqyr8h33p9wrvq
110-
111-
-- Open PR upstream, maintainer unresponsive, hopefully short-lived fork.
112-
-- TODO (mpj): release into CHaP as a patched version and delete
113-
source-repository-package
114-
type: git
115-
location: https://github.com/vshabanov/ekg-json
116-
tag: 00ebe7211c981686e65730b7144fbf5350462608
117-
--sha256: 1zvjm3pb38w0ijig5wk5mdkzcszpmlp5d4zxvks2jk1rkypi8gsm
118-
119120
source-repository-package
120121
type: git
121122
location: https://github.com/denisshevchenko/threepenny-gui

flake.lock

+18-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/haskell.nix

+2-3
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,8 @@ haskell-nix.cabalProject' ({ pkgs
8585
})
8686
({ pkgs, ... }: {
8787
# Use the VRF fork of libsodium
88-
packages = lib.genAttrs [ "cardano-crypto-praos" "cardano-crypto-class" ] (_: {
89-
components.library.pkgconfig = lib.mkForce [ [ pkgs.libsodium-vrf ] ];
90-
});
88+
packages.cardano-crypto-praos.components.library.pkgconfig = lib.mkForce [ [ pkgs.libsodium-vrf ] ];
89+
packages.cardano-crypto-class.components.library.pkgconfig = lib.mkForce [ [ pkgs.libsodium-vrf pkgs.secp256k1 ] ];
9190
})
9291
({ pkgs, options, ... }: {
9392
# make sure that libsodium DLLs are available for windows binaries,

trace-dispatcher/trace-dispatcher.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ library
4343
, contra-tracer
4444
, ekg
4545
, ekg-core
46-
, ekg-forward
46+
, ekg-forward >= 0.2.0
4747
, hostname
4848
, network
4949
, optparse-applicative-fork

0 commit comments

Comments
 (0)