
#10232: versionedAppDir ignores projectVersion from DynFlags -------------------------------------+------------------------------------- Reporter: luite | Owner: Type: bug | Status: new Priority: high | Milestone: Component: Compiler | Version: 7.10.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- versionedAppDir uses the constant cProjectVersion rather than (projectVersion dflags). versionedAppDir was introduced after GHC 7.10 RC1 and I unfortunately didn't catch this before the release. This changes the location of the user package DB, which is now inconsistent between Cabal and GHCJS, making the user pkg db unusable when GHC has been compiled with 7.10.1 Symlinking the user package db directory is a workaround, but it's only a partial solution since multiple GHCJS versions on the same GHC will clash. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10232 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler