Skip to content

Bump CHaP and remove ekg-json s-r-p #4519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 18 additions & 17 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repository cardano-haskell-packages
-- See CONTRIBUTING for information about these, including some Nix commands
-- you need to run if you change them
index-state: 2022-07-01T00:00:00Z
index-state: cardano-haskell-packages 2022-08-31T08:36:45Z
index-state: cardano-haskell-packages 2022-10-12T00:00:00Z

packages:
cardano-api
Expand Down Expand Up @@ -84,6 +84,23 @@ constraints:
, algebraic-graphs < 0.7
, protolude < 0.3.1

-- CONSTRAINTS FOR UPSTREAM CARDANO PACKAGES
-- These should all be constraints in upstream packages, but are currently missing.
-- We should a) fix these upstream and b) revise the constraints on the released
-- version in CHaP. Unfortunately revisions in CHaP don't work yet, revisit this
-- when we fix it.

-- cardano-crypto-wrapper: broken by cardano-prelude-0.1.0.1 which moves HeapWords out
, cardano-prelude < 0.1.0.1
-- cardano-ledger-byron: broken by cardano-binary-1.5.0.1 which includes some functions
-- that used to be in cardano-prelude
, cardano-binary < 1.5.0.1
-- plutus: cardano-crypto-class-2.0.0.1 changes the signatures of some DSIGN functions for secp256k1
, cardano-crypto-class < 2.0.0.1
-- cardano-crypto-tests: we required cardano-crypto-class-2.0.0.0 above, which is broken with
-- newer cardano-crypto-tests
, cardano-crypto-tests < 2.0.0.1

package snap-server
flags: +openssl

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

-- TODO (mpj): remove this once https://github.com/input-output-hk/ekg-forward/pull/10
-- is merged and released to CHaP
source-repository-package
type: git
location: https://github.com/input-output-hk/ekg-forward
tag: 8a21e6c3fd9b306e07e0e0f39047032c97789b38
--sha256: 170vgf94g6fhc2p2cx58gqy9520gs39ddl7q4lkqyr8h33p9wrvq

-- Open PR upstream, maintainer unresponsive, hopefully short-lived fork.
-- TODO (mpj): release into CHaP as a patched version and delete
source-repository-package
type: git
location: https://github.com/vshabanov/ekg-json
tag: 00ebe7211c981686e65730b7144fbf5350462608
--sha256: 1zvjm3pb38w0ijig5wk5mdkzcszpmlp5d4zxvks2jk1rkypi8gsm

source-repository-package
type: git
location: https://github.com/denisshevchenko/threepenny-gui
Expand Down
36 changes: 18 additions & 18 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions nix/haskell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,8 @@ haskell-nix.cabalProject' ({ pkgs
})
({ pkgs, ... }: {
# Use the VRF fork of libsodium
packages = lib.genAttrs [ "cardano-crypto-praos" "cardano-crypto-class" ] (_: {
components.library.pkgconfig = lib.mkForce [ [ pkgs.libsodium-vrf ] ];
});
packages.cardano-crypto-praos.components.library.pkgconfig = lib.mkForce [ [ pkgs.libsodium-vrf ] ];
packages.cardano-crypto-class.components.library.pkgconfig = lib.mkForce [ [ pkgs.libsodium-vrf pkgs.secp256k1 ] ];
})
({ pkgs, options, ... }: {
# make sure that libsodium DLLs are available for windows binaries,
Expand Down
2 changes: 1 addition & 1 deletion trace-dispatcher/trace-dispatcher.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ library
, contra-tracer
, ekg
, ekg-core
, ekg-forward
, ekg-forward >= 0.2.0
, hostname
, network
, optparse-applicative-fork
Expand Down