input-output-hk / cardano-sl

Cryptographic currency implementing Ouroboros PoS protocol
Apache License 2.0
3.77k stars 630 forks source link

make it build with network-3.1.0.1 #4269

Closed avieth closed 4 years ago

avieth commented 4 years ago

Description

Some dodgy changes to swagger stuff: had to place .~ with ?~ but I have no clue what I'm doing here. Judging from resources found on the internet it seems to be the way forward but I am not at all sure please review.

ALSO important news: the kademlia dependency is now gone. We never used it anyway and it was just annoying to maintain (it depends upon old network). Unforunately this change may break existing configurations. We shall see.

There's a new network-transport-tcp revision that includes nontrivial changes necessitated by the new network library interface. Must review that too. https://github.com/avieth/network-transport-tcp/commit/984386467466d89621eda1cff8bbb435a9b9c0ef

Linked issue

Type of change

Developer checklist

Testing checklist

QA Steps

Screenshots (if available)

How to merge

Send the message bors r+ to merge this PR. For more information, see docs/how-to/bors.md.

angerman commented 4 years ago

See https://github.com/input-output-hk/haskell.nix/issues/404 for the iserv patch to make it build when cross compiling to windows.

coot commented 4 years ago

bors r+

iohk-bors[bot] commented 4 years ago

Build succeeded