Hi George,
Have you looked at the ticket I gave you? Here's one linked from it
mentioning the topic of ghc-pkg compatibility with v2-install:
https://github.com/haskell/cabal/issues/6508
I'm afraid we don't have any systematic exposition of cabal history
with rationale for its major changes, but
Wasn't there specifically a new cabal version released to deal with
9.2.1? 3.4.1.0 / 3.6.2.0?
On Sat, Oct 30, 2021 at 3:24 PM George Colpitts
wrote:
>
> Thanks for the quick response Mikolaj. Sorry for the confusion, with cabal
> install I did use --lib but accidentally omitted that in my origin
Thanks for the quick response Mikolaj. Sorry for the confusion, with cabal
install I did use --lib but accidentally omitted that in my original email.
In 9.0.1 this results in a successful compilation but in 9.2.1 it does not
thus I believe this is a regression.
Here's the output I got in 9.2.1:
Hi George,
Since many versions of cabal, `install` only installs executables, not
libraries, so if that worked for you, you must have had an old version
of cabal.
Please see https://github.com/haskell/cabal/issues/6481 for some
context and to help you find a new workflow that works for you
(ideal
Thanks Ben!
There seems to be a regression in ghc / cabal integration in 9.2.1.
In 9.2.1 if I do
cabal install vector
Compilation of a file containing
import Data.Vector
main = undefined
fails with
Could not find module ‘Data.Vector’
Perhaps you meant Data.Functor (from base-4.16.0.