Skip to content

Conversation

@ulysses4ever
Copy link
Collaborator

this is a total WIP / shot in the dark / vibe-coded


Template Α: This PR modifies behaviour or interface

Include the following checklist in your PR:

@ulysses4ever
Copy link
Collaborator Author

I got as far as solving dependencies: on a freshly cabal inited package with cabal.project like this:

packages: .
compiler: mhs
with-compiler: mhs

I'm getting:

❯ cabal build
Warning: don't know how to find change monitoring files for the installed
package databases for mhs
Resolving dependencies...
Error: [Cabal-7107]
Could not resolve dependencies:
[__0] trying: mhs-test-0.1.0.0 (user goal)
[__1] next goal: base (dependency of mhs-test)
[__1] rejecting: base; 4.21.0.0, 4.20.2.0, 4.20.1.0, 4.20.0.1, 4.20.0.0, 4.19.2.0, 4.19.1.0, 4.19.0.0, 4.18.3.0, 4.18.2.1, 4.18.2.0, 4.18.1.0, 4.18.0.0, 4.17.2.1, 4.17.2.0, 4.17.1.0, 4.17.0.0, 4.16.4.0, 4.16.3.0, 4.16.2.0, 4.16.1.0, 4.16.0.0, 4.15.1.0, 4.15.0.0, 4.14.3.0, 4.14.2.0, 4.14.1.0, 4.14.0.0, 4.13.0.0, 4.12.0.0, 4.11.1.0, 4.11.0.0, 4.10.1.0, 4.10.0.0, 4.9.1.0, 4.9.0.0, 4.8.2.0, 4.8.1.0, 4.8.0.0, 4.7.0.2, 4.7.0.1, 4.7.0.0, 4.6.0.1, 4.6.0.0, 4.5.1.0, 4.5.0.0, 4.4.1.0, 4.4.0.0, 4.3.1.0, 4.3.0.0, 4.2.0.2, 4.2.0.1, 4.2.0.0, 4.1.0.0, 4.0.0.0, 3.0.3.2, 3.0.3.1 (constraint from non-reinstallable package requires installed instance)
[__1] fail (backjumping, conflict set: base, mhs-test)
After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: base, mhs-test

I guess I need to better understand how MHS treats base.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants