Skip to content

hackage.nix doesn't capture setup-depends #123

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

Closed
luke-clifton opened this issue May 13, 2019 · 5 comments
Closed

hackage.nix doesn't capture setup-depends #123

luke-clifton opened this issue May 13, 2019 · 5 comments

Comments

@luke-clifton
Copy link
Contributor

e.g. cairo has a section

custom-setup
  setup-depends: base >= 4.6,
                 Cabal >= 1.24 && < 2.5,
                 gtk2hs-buildtools >= 0.13.2.0 && < 0.14

Which doesn't appear in the hackage.nix expression

Package does not build because of it.

@luke-clifton
Copy link
Contributor Author

Related to #35

@luke-clifton
Copy link
Contributor Author

And the recently opened #120 ...

@angerman
Copy link
Collaborator

@luke-clifton yes. #120 needs to be cleaned up a bit. If you feel like extracting only the setup-depends part from it (see #120 (comment)), please go ahead! You will see that it reuses the builder already as mentioned in #35, maybe this could be done even more generic?

@angerman
Copy link
Collaborator

There is now a PR for this: #124

@ocharles
Copy link
Contributor

This can be closed

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