[GHC] #3985: --make does not cooperate with -hide-package which
causes problems for xmonad like configurations
GHC
cvs-ghc at haskell.org
Tue Apr 13 04:50:25 EDT 2010
#3985: --make does not cooperate with -hide-package which causes problems for
xmonad like configurations
-------------------------------+--------------------------------------------
Reporter: uzytkownik | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.12.1 | Keywords:
Os: Linux | Testcase:
Architecture: x86_64 (amd64) | Failure: GHC rejects valid program
-------------------------------+--------------------------------------------
If there is {{{-hide-package}}} with {{{--make}}} all packages are hidden
(as if no {{{--make}}} mode was enabled).
It causes problems especially given the current migration from mtl to
transformers + monads-fd/monads-tf. Pragma {{{ {-# OPTIONS_GHC -package
xyz #-} }}} does not work as well.
Currently workarounds:
- Hide package manually. As mtl is still used it might or might not be an
option. Also it requires user intervention for configuration.
- Specify the all packages. Not an option as configurated program does
not know all packages configuration file is using in advance.
- Do not hide packages. Requires extentions like PackageImports which
makes the configuration harder for newcommers which tries to configure
program.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3985>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list