[Haskell-cafe] Global Package Install

Richard Eisenberg rae at richarde.dev
Thu Feb 18 21:15:53 UTC 2021



> On Feb 18, 2021, at 3:48 PM, Viktor Dukhovni <ietf-dane at dukhovni.org> wrote:
> 
>    $ cabal repl -v0 -z --repl-options -package=iproute --repl-options -XOverloadedStrings

Yes, but it's so, so much easier just to say `ghci`. And then I can pass lots of options to `ghci` directly when I want to. And I don't have to spend time writing and maintaining wrapper scripts.

I do know what can go wrong with a global package database, and sometimes (once every 2-3 years?) it does go wrong. But I still prefer to work with a global database for my usual workflow.

Richard



More information about the Haskell-Cafe mailing list