Skip to content

Data files not working in new-build projects #4639

@fgaz

Description

@fgaz

Here's the problem: https://github.com/haskell/cabal/blob/484bb6c/cabal-install/Distribution/Client/CmdRun.hs#L211

We use the current directory as the base path for data files in new-run, but "current directory == package root" was true only before new-build.

Replacing curDir with the actual package root should fix this.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions