Describe the bug
cabal test all fails with an error
Error: [Cabal-9341]
Failed to find the installed unit 'containers-tests-0-inplace-test-utils' in package database stack.
This showed up in haskell/containers#1191.
To Reproduce
Steps to reproduce the behavior:
$ git clone -b check-laws https://github.com/meooow25/containers.git
$ cd containers
$ sed -i 's/containers\//-- &/' cabal.project # optional, to save some time
$ cabal test all
Expected behavior
Tests compile and run.
System information
$ cabal --version
cabal-install version 3.16.1.0
compiled using version 3.16.1.0 of the Cabal library (in-tree)
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 9.14.1
Additional context
While looking this error up I found #10046, which may be related. The workaround there of doing cabal build all first works here too.
Describe the bug
cabal test allfails with an errorThis showed up in haskell/containers#1191.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Tests compile and run.
System information
Additional context
While looking this error up I found #10046, which may be related. The workaround there of doing
cabal build allfirst works here too.