Ticket #2829 (closed bug: worksforme)

Opened 5 years ago

Last modified 5 years ago

GHC_SEARCH_PATH broken

Reported by: droundy Owned by:
Priority: lowest Milestone: 6.10.2
Component: Compiler Version: 6.10.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

This bug is present in at least ghc 6.8.2 and ghc 6.10.1. According to the documentation:

http://www.haskell.org/ghc/docs/6.10.1/html/users_guide/packages.html#ghc-package-path

One should be able to specify an environment variable like GHC_PACKAGE_PATH=$HOME/foo: in order to add the file foo to the search path. Instead, the search path is completely replaced--which seems unlikely to be the desired behavior, besides being contrary to the documentation.

This feature works fine, however, in ghc 6.6.1.

Change History

Changed 5 years ago by simonmar

  • priority changed from normal to lowest
  • difficulty set to Unknown
  • milestone set to 6.10.2

Could you be more specific about what doesn't work? I tried some simple tests here and it seems to be working as advertised for me.

Prio: lowest while waiting for feedback.

Changed 5 years ago by simonmar

  • status changed from new to closed
  • resolution set to worksforme

Submitter reports that it now works with 6.10.1.

Note: See TracTickets for help on using tickets.