haskell / haskell/cabal

"cabal install" has different working dir. than "cabal build"? (code in TH splice does not/does find data file)

Open
#10,911 4 comments 0 reactions 0 assignees View on GitHub
needs triage type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

(not sure about the "bug" status but at least it's confusing)

I have a yesod project, using persistent. I am getting this error https://github.com/yesodweb/persistent/issues/633 on `cabal install` BUT compilation succeeds with `cabal build`.

(my sources: but this is a standard yesod setup)

```
$ cabal --version
cabal-install version 3.14.1.1
compiled using version 3.14.1.1 of the Cabal library
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 9.12.2
```

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.