Skip to content
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

Error by installing ghc #1147

Open
BartTheBartender opened this issue Nov 4, 2024 · 3 comments
Open

Error by installing ghc #1147

BartTheBartender opened this issue Nov 4, 2024 · 3 comments

Comments

@BartTheBartender
Copy link

I have downloaded ghcup from brew and proceeded to install ghc via $ ghcup install ghc. I got the error:

ghcup install ghc
ghcup: ParseErrorBundle {bundleErrors = TrivialError 9 (Just EndOfInput) (fromList []) :| [], bundlePosState = PosState {pstateInput = "ghc-9.4.8", pstateOffset = 0, pstateSourcePos = SourcePos {sourceName = "ghcLinkVersion", sourceLine = Pos 1, sourceColumn = Pos 1}, pstateTabWidth = Pos 8, pstateLinePrefix = ""}}

@hasufell
Copy link
Member

hasufell commented Nov 5, 2024

Is the env var GHCUP_USE_XDG_DIRS set?

@BartTheBartender
Copy link
Author

Thank you for the answer! I have set the variable to „true”, the error still persists.

@hasufell
Copy link
Member

hasufell commented Nov 5, 2024

I did not suggest to set it to true. Please unset the env var.

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

No branches or pull requests

2 participants