[Haskell-cafe] Trouble building library with cabal-install 1.24

Bardur Arantsson spam at scientician.net
Fri May 6 10:29:48 UTC 2016


On 05/06/2016 11:40 AM, Amy de Buitléir wrote:
> I'm trying to use cabal-install 1.24. To start fresh, I removed ~/.cabal and
> ~/.ghc, and then used the old cabal(-install) executable to do cabal update
> and cabal install cabal-install.
> 
> Unfortunately, it seems that cabal-install is building everything except my
> library!
> 
> $  cabal --version
> cabal-install version 1.24.0.0
> compiled using version 1.24.0.0 of the Cabal library
> 
> $ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 7.10.3
> 
> $ cat cabal.project.local
> tests: True
> 
> program-options
>   ghc-options: -Werror
> 
> $ cabal new-build --enable-test -v

I seem to recall that you need to explicitly mention "your-library" on
the command line here.




More information about the Haskell-Cafe mailing list