haskell / haskell/cabal

`cabal install --lib` doesn't respect GHC's XDG setup

Open
#10,471 0 comments 0 reactions 0 assignees View on GitHub
cabal-install: cmd/install re: install --lib type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

> `cabal install --lib ipprint` dumping things into `~/.ghc/{{host_double}}-{{ghc_ver}}/environments/default` with `stack ghci` and bare `ghci`, also not respecting XDG dirs and causing checking for `~/.config/ghc/ghci.conf` to be skipped because `~/.ghc/` exists.

_Originally posted by @skull-squadron in https://github.com/haskell/cabal/issues/10098#issuecomment-2423774962_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.