-
Notifications
You must be signed in to change notification settings - Fork 698
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
'cabal new-test' seems to be confused by non-trivial project structure #4619
Comments
For what it's worth: the first one appears consistent with other new-* commands. The next few I can't reproduce. The last one seems like a genuine bug, though. |
Just tried with the latest snapshot:
Still can reproduce them all. I'll delete |
Note that I have a slightly patched diff --git a/cabal.project b/cabal.project
index e6899cb7d..02c716f65 100644
--- a/cabal.project
+++ b/cabal.project
@@ -1,6 +1,6 @@
packages: Cabal/ cabal-testsuite/ cabal-install/
-constraints: unix >= 2.7.1.0,
- cabal-install +lib +monolithic
+constraints: unix >= 2.7.1.0
+-- cabal-install +lib +monolithic
-- Uncomment to allow picking up extra local unpacked deps:
--optional-packages: */ |
It seems to work if I unapply this patch, at least it starts the build process. |
Closing in favor of #4621 |
You can reproduce the issue if you apply the patch from #4619 (comment) to |
Ah sorry, I assumed it was normal. |
This may be related to #6006. |
First reported here. With a recent snapshot from
master
and using thecabal
repo itself as a test project:Probably applies to
new-bench
too (or rather will do, once #4614 is merged). @fgaz, I think this is something that you can look into now that you're finished withnew-run
.The text was updated successfully, but these errors were encountered: