[Hackage] #541: bootstrap.sh ignores PREFIX environment variable

Hackage trac at galois.com
Sun Apr 19 17:31:51 EDT 2009


#541: bootstrap.sh ignores PREFIX environment variable
---------------------------------+------------------------------------------
  Reporter:  nr                  |        Owner:         
      Type:  defect              |       Status:  new    
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.6.0.1
  Severity:  major               |   Resolution:         
  Keywords:                      |   Difficulty:  unknown
Ghcversion:                      |     Platform:  Linux  
---------------------------------+------------------------------------------
Changes (by nr):

  * severity:  normal => major

Comment:

 Followup: even with this patch, using {{{$PREFIX}}} does not work: a
 directory structure gets created in {{{$PREFIX}}}, but there is no config
 file, which results in this pain:
 {{{
 : nr at homedog 5523 ; cabal install -v graphmod
 /usr/bin/ghc --numeric-version
 looking for package tool: ghc-pkg near compiler in /usr/bin
 found package tool in /usr/bin/ghc-pkg
 /usr/bin/ghc-pkg --version
 /usr/bin/ghc --supported-languages
 Reading installed packages...
 /usr/bin/ghc-pkg list
 Warning: No remote package servers have been specified. Usually you would
 have
 one specified in the config file.
 cabal: There is no package named graphmod
 : nr at homedog 5524 ;
 }}}

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


More information about the cabal-devel mailing list