[Hackage] #335: GHC_PACKAGE_PATH disrespected

Hackage trac at galois.com
Thu Aug 21 04:28:10 EDT 2008


#335: GHC_PACKAGE_PATH disrespected
----------------------------+-----------------------------------------------
  Reporter:  cjs            |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  high           |    Milestone:         
 Component:  Cabal library  |      Version:  1.2.3.0
  Severity:  normal         |     Keywords:         
Difficulty:  normal         |   Ghcversion:  6.8.3  
  Platform:  Other Unix     |  
----------------------------+-----------------------------------------------
 Looks like cabal doesn't even use GHC_PACKAGE_PATH at all.
 {{{
 $ unset GHC_PACKAGE_PATH
 $ ghc-pkg list binary
 /usr/pkg/lib/ghc-6.8.3/package.conf:
 $ export
 GHC_PACKAGE_PATH=/my/package.conf:/usr/pkg/lib/ghc-6.8.3/package.conf
 $ ghc-pkg list binary
 /usr/pkg/lib/ghc-6.8.3/package.conf:
 /my/package.conf:
     binary-0.4.1
 $ runghc Setup.hs configure
 Configuring mypackage-1.0...
 Setup.hs: At least the following dependencies are missing:
     binary -any
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/335>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list