Skip to content
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

cardano-api #28

Closed
L-as opened this issue Sep 20, 2022 · 6 comments
Closed

cardano-api #28

L-as opened this issue Sep 20, 2022 · 6 comments

Comments

@L-as
Copy link

L-as commented Sep 20, 2022

How come cardano-api isn't here?

@michaelpj
Copy link
Contributor

This is currently populated with what's needed for cardano-node at its last release. That's so we can get it to the point where this works with cardano-node, and make a decision about whether we're going to commit with this. Then we can move on to using it more widely, including adding the packages from cardano-node itself.

@L-as
Copy link
Author

L-as commented Sep 20, 2022

I'm asking because cardano-api has a sublibrary and that seems not to work well with Cabal or anything really when in a hackage repository.

@michaelpj
Copy link
Contributor

I'm asking because cardano-api has a sublibrary and that seems not to work well with Cabal or anything really when in a hackage repository.

Hmm, if so that's news to me. I thought it worked fine, but we should check.

@andreabedini
Copy link
Contributor

I'm asking because cardano-api has a sublibrary and that seems not to work well with Cabal or anything really when in a hackage repository.

Can you be more specific? I just did a test creating

  • a temporary repository with cardano-api
  • a project that pulls that repo
  • a package with cardano-api:gen as build-depends

and everything seems to work ok.

Note that our tooling as little to do with hackage-server, we expose the same interface but we don't have any of the backend logic. AFAIK work to support public libraries in hackage-server is still in progress (see haskell/hackage-server#1119).

@L-as
Copy link
Author

L-as commented Sep 20, 2022

@andreabedini try exactDeps = true and cabal build in the development shell. Might happen with exactDeps = false too.

@michaelpj
Copy link
Contributor

It's there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants