[Nix-dev] Mixing cabal and Nix? Or: Best way to install development versions of Haskell packages?
Peter Simons
simons at cryp.to
Fri Mar 9 14:18:56 CET 2012
Hi Aristid,
> Am I rightly suspecting that it isn't possible to mix cabal and Agda, even
> just for development versions of some packages?
Cabal and Nix work together just fine. What doesn't work, though, is mixing
Haskell software that's been installed via Nix and Haskell software that's been
installed by other means, say the native package manager of your host OS. Maybe
that is what you've been doing?
> $ cabal install --disable-documentation
Where did you get that Cabal binary from? And what compiler is it using for the
build? (If in doubt, please run the command with '-v' to enable more verbose
output and post the results here.)
You should make sure that the 'ghc' command in your $PATH is the binary
provided by the Nix package "ghc-7.4.1-wrapper". Any other binary is not going
to find any of the Haskell packages that you installed via Nix.
Take care,
Peter
More information about the nix-dev
mailing list