haskell / haskell/cabal

Add .cabal/bin to user PATH

Open
#2,703 5 comments 0 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

Installing cabal-install for the first time should add .cabal/bin to the user PATH (.bash_profile) or at least prompt the user and ask if it should do so.

My reasoning: some cabal packages (haskell-src-exts) depend on installed haskell programs (happy) and will not find those it they are not in the PATH.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the first-time cabal-install setup and how user configuration such as .bash_profile is handled. Done means .cabal/bin is added to the user PATH or the installer clearly prompts whether to add it, while preserving the reported ability to find installed Haskell programs.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.