-
Notifications
You must be signed in to change notification settings - Fork 16
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
Question: How to use this with with the hackage builder? #52
Comments
I don't see anything obvious. I suggest to open an issue for Hackage or Cabal. |
Thanks; I try to further investigate/solve the underlying problem - and will post an update if I have news... |
As it seems I rediscovered haskell/hackage-server#821 - as cabal documentation states tools are only added to the path for nix-style/v2 builds (https://cabal.readthedocs.io/en/3.10/cabal-package.html#pkg-field-build-tool-depends). However hackage still uses v1-builds 👎 ; so basically there is no way to solve this for now - case closed. |
You could probably still ask for |
@alaendle do this: Add |
@sol Maybe I've got this wrong, but that was my first thought too - and the change from v0.6.0.0 to v0.6.0.1 - co-log/co-log@deb2e47#diff-f5ec54a235408d1bb05b13a32989d74792b6c1c98f6391370e9a6e5f8205fb95 - and both versions (v0.6.0.0 - just referencing |
Ok, so this is odd, the relevant code is here: https://github.com/haskell/hackage-server/blob/30a4d8404dd9b70be0f00545d14a640b291107fc/exes/BuildClient.hs#L780 If I try
Not sure why it doesn't work on Hackage. My best guess would be that the cabal bin dir is not on the However, apparently tests are run with This explains why test suites that use To summarize:
|
@sol Many thanks for sharing your thoughts! However converting the tutorials to test suites would be misleading in my opinion. Also I'm not sure if it is correct to expect |
Well, that's all I have to offer:
Closing. |
Yes, exactly, I think that's the right solution here. |
Again many thanks to @sol who cares also about issues that doesn't directly have to do with his tools. And just for reference - in my case I just introduced a cabal flag and ensured that things dependent on |
Sorry for misusing this issue here to ask for help how to use this tooling in conjunction with the hackage CI builder: I think I've followed the instructions and added to cabal file build-depends and build-tools-depends (to make things absolutely sure 😉 ).
Nonetheless the builder complains with...
See
https://hackage.haskell.org/package/co-log-0.6.0.1/co-log.cabal
and
https://hackage.haskell.org/package/co-log-0.6.0.1/reports/1
Thanks for your tool and I'm pretty sure this has nothing to do with your tool at all (and more with some hidden things the hackage CI is doing; also I couldn't reproduce it locally) - but maybe the problem is obvious to you?
The text was updated successfully, but these errors were encountered: