-
Notifications
You must be signed in to change notification settings - Fork 696
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
v2-build --only-dependencies solver should never fail, if v2-build --dry doesn't. #6106
Comments
+1. The basic issue here is that if you say |
I just ran into this problem with a backpack project. +1 on making it build store (remote) packages
this should be fixed by the new |
Confirming, ran into the same issue with a Backpack project:
This is quite unexpected since neither of those packages can be a dependency of anything else (one is, however, a dependency of the other, and on has internal libraries, but I don't expect that to be an influence with Would it help to have a (trivial) reproducer repo? |
Reproducers are always welcome. But could you try with cabal 3.8.1 first? Just in case. |
On 3.10 this blocks me in presence of git dependencies. |
Solver should pick as much as it can, there are dependencies to be built, even there are so called in-place packages (here:
tutorial
depends onservant-js
which depends onservant-js
)More concretely, given there are four categories of packages in a plan
I'd need a flag to build all packages which will end in the nix-store (which IMO we should rename to v2-build store: #6105, because nix-store is
/nix/store
). I think that--only-dependencies
is close to that. To make more people happy, thev2-build --only-dependencies
could also download inplace packages.Given that, if you go on a flight,
v2-build --only-dependencies
will prepare you for an offline hacking session.The text was updated successfully, but these errors were encountered: