-
Notifications
You must be signed in to change notification settings - Fork 92
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
'ghcup satisfy' command #109
Comments
In GitLab by @maerwald on Dec 13, 2020, 02:58 Relevant: haskell/cabal#6885 Discussion on IRC
|
In GitLab by @Franciman on Dec 16, 2020, 05:15 Hi,
For doing this vabal used a trick, I am not sure this is very accurate, or if it is a viable option, In this way you can run cabal build --dry-run using these scripts passed as -w option (the dry-run option makes cabal just run the configuration without writing anything to the disk, whilst configure would write a cabal.project.local file) Regarding
Can I suggest you also consider the Cabal library constraints in the setup-depends stanza? Finally if it is helpful here you can find vabal's code for base + Cabal resolution: For the fake ghc cabal planning you can find the code here: Let me know if I can help in some way. |
In GitLab by @maerwald on Jun 1, 2021, 19:10
If you want to have a shot at an implementation, I'd be all ears... |
In GitLab by @fgaz on Nov 5, 2021, 16:46 The third option could just pick the latest or recommended ghc from |
In GitLab by @maerwald on Dec 13, 2020, 01:02
This command could install the correct GHC version in a cabal project based on various metrics:
Third option seems like the gold standard, but in order to find the highest allowed base version, we need to do an actual resolution I believe...
Edit:
plan.json
we cannot use, because that requires a cabal run with ghc already installed I believe.The text was updated successfully, but these errors were encountered: