[Hackage] #645: cabal-install ignores --prefix

Hackage trac at galois.com
Fri Mar 19 05:53:26 EDT 2010


#645: cabal-install ignores --prefix
---------------------------------+------------------------------------------
  Reporter:  StefanK             |        Owner:         
      Type:  defect              |       Status:  new    
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.6.0.1
  Severity:  normal              |     Keywords:         
Difficulty:  unknown             |   Ghcversion:         
  Platform:                      |  
---------------------------------+------------------------------------------
 This is not a duplicate of #601. Installing a package with

   rm -rf ~/.ghc ~/.cabal
   cabal clean
   cabal configure --user --prefix="${HOME}/opt"
   cabal build
   cabal install

 will install the binaries in '/home/sk/.cabal/bin' instead of
 '/home/sk/opt/bin'.

 I'll attach a toy project demonstrating this.

 System:
   sk at watarrka:~> ghc --version
   The Glorious Glasgow Haskell Compilation System, version 6.12.1

   sk at watarrka:~> cabal --version
   cabal-install version 0.8.0
   using version 1.8.0.2 of the Cabal library

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



More information about the cabal-devel mailing list