Skip to content

use cabal instead of stack to install haskell-debug-adapter #1913

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

Open
2 tasks done
ignamartinoli opened this issue Apr 18, 2025 · 0 comments
Open
2 tasks done

use cabal instead of stack to install haskell-debug-adapter #1913

ignamartinoli opened this issue Apr 18, 2025 · 0 comments

Comments

@ignamartinoli
Copy link

I've searched open issues for similar requests

  • Yes

I've recently downloaded the latest plugin version of mason.nvim

  • Yes

Problem description

Currently, Mason uses Cabal to install the Haskell Language Server, and Stack to install haskell-debug-adapter.

To my understanding, Stack is a superset of Cabal, so it would be better to just use one package manager instead of two to work with the Haskell ecosystem.

This fragmentation can lead to confusions like in this issue, where debugging is even harder since both package managers are not present in the checkhealth.

Expected behavior

haskell-debug-adapter installed with Cabal.

Affected packages

haskell-debug-adapter

Mason output


Installation log

--

Neovim version (>= 0.7)

NVIM v0.12.0-dev-118+g7c15987444-dirty
Build type: Release
LuaJIT 2.1.1731601260

Operating system/version

Linux sicro 6.14.2-gentoo #1 SMP Fri Apr 11 01:04:55 -03 2025 x86_64 AMD Ryzen 7 PRO 4750U with Radeon Graphics AuthenticAMD GNU/Linux

Healthcheck

--

Screenshots

No response

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

No branches or pull requests

1 participant