-
Notifications
You must be signed in to change notification settings - Fork 842
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
Dependency cycle error between Cabal-3.8.1.0 and Cabal-syntax-3.6.0.0 on Windows #6052
Comments
@msakai, I think you get this result because:
So, I think you want either It is the same if you command
At the very least, I think it needs to be documented that GHC boot libraries are not part of Stackage snapshots. (EDIT: In the original version of this post, I mistakenly thought |
These discussions likely related: |
General summary/comments (optional)
I have a script to process cabal files and when I ran the script with
stack runhaskell --package Cabal
on Windows, I encountered a dependency cycle error betweenCabal-3.8.1.0
andCabal-syntax-3.6.0.0
.Steps to reproduce
Expected
I expect that
stack
usesCabal-3.6.3.0
fromlts-20.11
and thattest.hs
runs successfully.Actual
Stack tried to use
Cabal-3.8.1.0
and It failed with a dependency cycle error of[Cabal,Cabal-syntax,Cabal]
.I'm wondering why stack tried to combine
Cabal-3.8.1.0
andCabal-syntax-3.6.0.0
even thoughCabal-3.6.3.0
is included inlts-20.11
andCabal-3.8.1.0
requiresCabal-syntax >= 3.8 && < 3.9
The problem does not happen on
x86_64-osx
.Also, the problem does not happen if I remove
--package Cabal
.Stack version
Method of installation
Platform
x86_64-windows
The text was updated successfully, but these errors were encountered: