[Hackage] #568: option -b has no effect

Hackage trac at galois.com
Wed Jul 22 08:41:01 EDT 2009

#568: option -b has no effect
  Reporter:  guest          |        Owner:         
      Type:  defect         |       Status:  closed 
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:
  Severity:  normal         |   Resolution:  wontfix
  Keywords:                 |   Difficulty:  unknown
Ghcversion:                 |     Platform:         
Changes (by duncan):

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


 From looking at old versions, it seems that the `-b`/`--scratchdir` option
 specified the build dir in Cabal-1.1.4 but from at least 1.2 onwards it
 only specified the scratch dir which is only used by hugs. It's certainly
 documented as such. The reason it appears not to do anything for you is
 that you are using ghc not hugs.

 We're planning to remove the `--scratchdir` since we now have the more
 general option `--builddir` (which defaults to `dist`). So I suggest you
 use the `--builddir` option.

 So I'm closing this ticket. If the `--builddir` doesn't do what you need
 then either re-open this ticket or file a new one.

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

More information about the cabal-devel mailing list