[Nix-dev] Mixing cabal and Nix? Or: Best way to install development versions of Haskell packages?

Andres Loeh ksnix at andres-loeh.de
Fri Mar 9 16:29:20 CET 2012


Hi.

> $ runghc Setup.hs copy
> $ runghc Setup.hs register --gen-pkg-conf=Agda.conf
> $ ghc-pkg --user register Agda.conf
>
> Is there a better way? :)

Yes, passing the --force option to cabal with --ghc-pkg-options=--force

Cheers,
  Andres


More information about the nix-dev mailing list