#2509: ghc-pkg uses wrong package.conf
-----------------------+----------------------------------------------------
Reporter: judah | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.9 | Severity: normal
Keywords: | Testcase:
Architecture: x86 | Os: MacOS X
-----------------------+----------------------------------------------------
After installing HEAD ghc, running ghc-pkg lists no packages (not even
base or rts):
{{{
$ /Users/judah/tmp/ghc-stage/bin/ghc-pkg list
/Users/judah/tmp/ghc-stage/share/ghc-6.9.20080809/ghc-
pkg-6.9/package.conf:
}}}
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:
{{{
/Users/judah/tmp/ghc-stage/lib/ghc-6.9.20080809/package.conf
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2509>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs