#6112: ghc-pkg ignores --global-conf if --package-conf is set
-------------------------------+--------------------------------------------
  Reporter:  luite             |          Owner:  pcapriotti      
      Type:  bug               |         Status:  closed          
  Priority:  normal            |      Milestone:                  
 Component:  Compiler          |        Version:  7.4.1           
Resolution:  invalid           |       Keywords:                  
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown      |     Difficulty:  Unknown         
  Testcase:                    |      Blockedby:                  
  Blocking:                    |        Related:                  
-------------------------------+--------------------------------------------
Changes (by pcapriotti):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 This is the correct (and documented) behavior. When any `*-conf` option is
 used, the global and user package dbs are not used, unless explicitly
 selected with the `--global` and `--user` flags respectively.

 So, just add `--global` to the command line in your example to get the
 desired behavior.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6112#comment:2>
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

Reply via email to