-
Notifications
You must be signed in to change notification settings - Fork 237
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
Top-level coverage: True
inappropriately applied to dependencies
#2141
Comments
Does |
Yes |
What derivation are you building with haskell.nix? I tried but I couldn't reproduce this. It seems that cabal fails the planning step with the same message.
while scoping
Since v2 commands PS1: this seems to work
PS2: IIRC the incompatibility between per-component builds and hpc was recently addressed by @alt-romes. |
If I'm already in my
|
This should have been fixed by haskell/cabal@073ccc8, although I don't think it is going to be backported to 3.10 |
Hmm, is it possible it made it into |
Haskell.nix backports some patches for cabal but this does not seem one of those. |
If you do Under that conditions, cabal's solver will prefer the pre-existing compiled packages (irrespectively of the If, instead, you start with tl;dr: It's a mixture of two problems:
|
Hmm... If this is right, this still seems like a
So why would a top-level |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
When I put
coverage: True
as a top-level field in mycabal.project
, I get a failure fromhaskell.nix
that I don't see usingcabal
directly:This is unexpected, as the top-level declaration should only apply to local packages. Indeed, if I move the
coverage: True
underneath apackage
stanza for my one package, h.nix is happy.The text was updated successfully, but these errors were encountered: