doctest-parallel icon indicating copy to clipboard operation
doctest-parallel copied to clipboard

Support `Setup.hs` builds

Open sternenseemann opened this issue 3 years ago • 3 comments
trafficstars

Running runghc Setup.hs test produces a similar error as #22. However, it seems to me that we can never expect this to work even if #22 gets fixed in cabal-install, since Setup.hs-style builds neither support cabal.project nor the --write-ghc-environment-files flag.

sternenseemann avatar Jul 26 '22 17:07 sternenseemann

I recently got pointed to https://github.com/haskell/cabal/pull/7688. I'm assuming this would work with Setup.hs test.

martijnbastiaan avatar Jul 26 '22 19:07 martijnbastiaan

The code-generators stanza being allowed in the testsuite is part of Cabal-3.8 which comes with ghc-9.4

christiaanb avatar Nov 20 '23 08:11 christiaanb