git-annex/doc/bugs/conflicting_haskell_packages.mdwn

18 lines
778 B
Text
Raw Normal View History

2010-12-09 00:10:03 +00:00
The compilation command should states which packages are used and avoid the default mechnasim that automatically search for them.
This can be done by the flags -hide-packages and then -package foo
2010-12-09 17:45:16 +00:00
> My ghc does not have a `--hide-packages` option.
>
> Could you just show the build problem that you are suggesting I work
> around? --[[Joey]]
2011-02-08 19:11:49 +00:00
> Thanks npouillard, I see the problem now.
> <http://stackoverflow.com/questions/2048953/control-monad-state-found-in-multiple-packages-haskell>
>
> I've added "-ignore-package monads-fd" to GHCFLAGS. I hope I don't
> really have to hide all packages and individually turn them back on;
> surely this monads-fd/mtl conflict is an exception, and Haskell's module
> system is not a mess of conflicting modules? --[[Joey]] [[done]]