haskell / haskell/cabal

hpc doesn't work with absolute distdir

Open
#2,999 2 comments 0 reactions 0 assignees View on GitHub
blocked: ghc Cabal: other
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

If you try to do any HPC using an absolute `--distdir`, `hpc` will fail to find the tix files. This is due to this bug: https://ghc.haskell.org/trac/ghc/ticket/10951

Cabal could work around this by relativizing the dist-dir with respect to the CWD, and then proceeding from there. This is what I had to do for the new test suite in #2998.

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.