haskell / haskell/cabal

cabal repl and the Paths_mypackage module

Open
#1,842 3 comments 0 reactions 0 assignees View on GitHub
cabal-install: cmd/repl Cabal: cmd/repl type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

I'm not sure if this is intended behavior, but I'd expect the `Paths_` module to point somewhere meaningful when I'm running in `cabal repl`. It seems to point to my user directory when I'd expect it to point to the current package root.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior with `cabal repl` and inspect how the `Paths_` module is generated or resolved during that command. The work is done when the module points to the current package root rather than the user's directory, with the behavior verified in a relevant test if one exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system, cli
Issue type
Bug
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.