Skip to content

--make does not cooperate with -hide-package which causes problems for xmonad like configurations

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.
Trac metadata
Trac field Value
Version 6.12.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information