Skip to content

feat(haskel): support cabal v1 and v2#6569

Draft
viceice wants to merge 1 commit intomainfrom
feat/cabal-v1-v2
Draft

feat(haskel): support cabal v1 and v2#6569
viceice wants to merge 1 commit intomainfrom
feat/cabal-v1-v2

Conversation

@viceice
Copy link
Copy Markdown
Member

@viceice viceice commented Apr 29, 2026

cabal v1 and v2 need an older ghc (compiler) which isn't available

Co-authored-by: Copilot <copilot@github.com>
Comment thread test/haskell/Dockerfile

# cabal v2 need ghc <8.7
# no binaries yet
# RUN install-tool ghc 8.8.4
Copy link
Copy Markdown
Contributor

@jamietanna jamietanna Apr 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to confirm, does something like https://www.haskell.org/ghc/download_ghc_8_4_4.html#linux_x86_64 as a pre-built binary not work for this? I assume not, but wanted to check

I guess potentially not as it's Debian, not Ubuntu based, so system libraries may have drifted - especially by now

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it doesn't incluse the bin folder like the v9 builds :-/

at least i have no idea how to get the ghc and ghc-pkg binaries whiout a full rebuild.

do you have a more haskell experienced user at hand to help?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at least google AI tells me that we need make and configure

./configure
sudo make install

😕

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me check

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.

Add support for new tool Haskell

2 participants