Opened 9 years ago

Closed 9 years ago

#2509 closed bug (fixed)

ghc-pkg uses wrong package.conf

Reported by: judah Owned by:
Priority: normal Milestone: 6.10.1
Component: Compiler Version: 6.9
Keywords: Cc:
Operating System: MacOS X Architecture: x86
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


After installing HEAD ghc, running ghc-pkg lists no packages (not even base or rts):

$ /Users/judah/tmp/ghc-stage/bin/ghc-pkg list

The problem is that utils/ghc-pkg/ghc-pkg.wrapper points to the $datadir of ghc-pkg, which is the ghc-stage/share/[etc] folder listed above; whereas the package database used by ghc is instead:


Change History (1)

comment:1 Changed 9 years ago by igloo

difficulty: Unknown
Milestone: 6.10.1
Resolution: fixed
Status: newclosed

Coincidentally, I was fixing this earlier today. I've just pushed the fix, so it should work now.

Note: See TracTickets for help on using tickets.