HPC code coverage fails
in a completely clean sandbox environment:
cabal install --dependencies-only --enable-tests --enable-coverage --enable-benchmarks cabal build test --enable-tests --enable-coverage --enable-benchmarks cabal test project --test-options=--html=dist/tasty/index.html
Command: cabal test project --test-options=--html=dist/tasty/index.html Exit code: 1 Stderr: hpc: can not find text_IINWRW1LxFGIctooOLjJAI/Data.Text.Unsafe in ["./.hpc","./dist/hpc/vanilla/mix/project-0.1.0.0","./dist/hpc/vanilla/mix/project-test"]
$ ghc --version The Glorious Glasgow Haskell Compilation System, version 7.10.1
$ cabal --version cabal-install version 1.22.2.0 using version 1.22.2.0 of the Cabal library
$ clang --version Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn) Target: x86_64-apple-darwin14.3.0 Thread model: posix
OS X version 10.10.3
Installed from home-brew and Haskell for Mac OS X both have the same problem.