Ticket #3985 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

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

Reported by: uzytkownik Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.12.1
Keywords: Cc:
Operating System: Linux Architecture: x86_64 (amd64)
Type of failure: GHC rejects valid program Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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.

Change History

Changed 3 years ago by uzytkownik

  • status changed from new to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.