[Hackage] #290: Cabal does some work behind the back of hooks

Hackage trac at galois.com
Sat Mar 7 09:47:39 EST 2009


#290: Cabal does some work behind the back of hooks
----------------------------+-----------------------------------------------
  Reporter:  igloo          |        Owner:                     
      Type:  defect         |       Status:  new                
  Priority:  normal         |    Milestone:  Cabal-2.0          
 Component:  Cabal library  |      Version:  1.2.3.0            
  Severity:  normal         |   Resolution:                     
  Keywords:                 |   Difficulty:  very hard (<1 week)
Ghcversion:  6.8.2          |     Platform:                     
----------------------------+-----------------------------------------------
Changes (by duncan):

  * difficulty:  normal => very hard (<1 week)
  * milestone:  => Cabal-2.0

Comment:

 The hooks needs replacing. I don't particularly plan to change anything
 before then.

 Adding important code to `postConf` is a bit dodgy since old `Setup.hs`
 scripts do not know that if they override it they have to call the old
 one. While I admit that I've recently added code to `postConf` so it's no
 longer `return ()`, that is only checking code, so it's no great loss if
 it is not run. It doesn't break anything.

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


More information about the cabal-devel mailing list