[Haskell-cafe] cabal v2 global install status

amindfv at mailbox.org amindfv at mailbox.org
Wed May 4 16:56:12 UTC 2022

On Wed, May 04, 2022 at 06:42:53PM +0200, Francesco Ariis wrote:
> Il 04 maggio 2022 alle 09:31 amindfv--- via Haskell-Cafe ha scritto:
> > I'm very comfortable using cabal's `v2-` nix-style local builds at home and at work, but on a personal machine at home I've clung to `v1-install` because I _really_ like the ability to choose which packages are available in a simple `ghci` session.
> > 
> > For a long time that's been impossible or painful with the `v2-` commands. What's the status these days? I'm particularly interested in how it works for packages that only exist locally without a Hackage server.
> Does
>     cabal new-install --lib
> do what you want?

I don't know; in the past it hasn't, and I wanted to see what the current recommendations are before going down a long and potentially incorrect path.


More information about the Haskell-Cafe mailing list