Skip to content

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

@ignamartinoli

Description

@ignamartinoli

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions