Skip to content

ghc-pkg ignores --global-conf if --package-conf is set

I'm working on ghcjs, which uses ghc-pkg with custom database locations. When both --global-conf and --package-conf are specified, the former is ignored

http://hpaste.org/68699

If this is the expected behaviour, what's the correct way to set the location for both the global and user db?

Trac metadata
Trac field Value
Version 7.4.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information