-
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
Wishful thinking: Please allow cabal to solve the attached challenge #2024
Comments
Guess github doesn’t allow file attachments. You can pull the tarball at https://people.debian.org/~nomeata/cabal-challenge.tar.gz |
/cc @kosmikus |
Yes, I'd like this, too. |
Cabal can find the conflict relatively quickly now with
I also tried running the command on a package that can be upgraded. I removed the constraint on |
@grayjay What about |
I didn't think to try |
Thanks. |
Hi,
in Debian, we use
cabal-install
with rather extreme command lines to ensure that our package set selection is consistent. For that, we use--constraint foo (== 1.2.3)
flags, which works rather well, even with 300 packages.But I’d also like cabal to help me to find out what upgrades are required to upgrade a specific package. For that, I figured I can use
--preference foo (== 1.2.3) --constraint foo (>= 1.2.3)
for all our package selection, and--constraint bar (>= 1.2.4)
for the package we want to upgrade.I’ll attach a tarball with a custom cabal config,
00-index.tar.gz
(with Debian-specific patches) and a script with a 91k command line (change the paths in the command line and the config file to match yours).It is a consistent package selection with the exception of
scientific
, which I want to upgrade. I believe the upgrade is not actually possible (something involving attoparsec and leksah), but I’d like cabal to tell me. Unfortunately, cabal doesn’t finish in a reasonable time yet.BTW, I can also provide such self-contained examples of large, but consistent package sets, in case you like to have more large example to benchmark and profile.
The text was updated successfully, but these errors were encountered: