Re: Cleaning up hooks

2007-05-03 Thread Simon Marlow
Ian Lynagh wrote: On Tue, Apr 24, 2007 at 09:45:54AM +0100, Simon Marlow wrote: I think the API for hooks is in need of an overhaul. I agree. 4. tools that build on Cabal (e.g. cabal-rpm) don't work with hooks. If your Setup.hs uses hooks to modify the PackageDescrption, then cabal-rpm

Re: Cleaning up hooks

2007-05-03 Thread Ian Lynagh
On Thu, May 03, 2007 at 08:47:08AM +0100, Simon Marlow wrote: > > So we agree in principle that removing all the pre/post hooks from > UserHooks and providing thenHook/thenHooks would be an improvement? I agree, certainly. Thanks Ian ___ cabal-devel

Re: hackageDB directory layout

2007-05-03 Thread Bjorn Bringert
On May 3, 2007, at 10:24 , Ross Paterson wrote: [for some reason I don't seem to be able to get this to the libraries list, so I'm sending it to cabal-devel] I propose to change the directory layout of the HackageDB data, by putting each version in a separate directory (to simplify future ex

cabal-upload & cabal-install

2007-05-03 Thread Duncan Coutts
Hia Ross, Bjorn, Pepe Iborra and I were hacking on cabal-install today. I hope you like our patches :-). Pepe updated it to use filepath so it'd work on windows and I fiddled with locations of config and things to try and make installation simpler so it'll work "out of the box". I was also trying

Re: cabal-upload & cabal-install

2007-05-03 Thread Ross Paterson
On Thu, May 03, 2007 at 09:45:28PM +0100, Duncan Coutts wrote: > What do we need to do next? Should we invite a little bit of wider > testing on cabal-install + hackage and get some user feedback. If that's > good we should actively advertise and push it. I think slowly building the user base amon

cabal "fails" with no explanation

2007-05-03 Thread Stefan O'Rear
[EMAIL PROTECTED]:/usr/local/src/xmonad$ runhaskell Setup.lhs clean -v5 cleaning... [EMAIL PROTECTED]:/usr/local/src/xmonad$ echo $? 1 [EMAIL PROTECTED]:/usr/local/src/xmonad$ ghc -V The Glorious Glasgow Haskell Compilation System, version 6.7.20070502 [EMAIL PROTECTED]:/usr/local/src/xmonad$ conf

Detrimental c2hs / "other-modules" interaction

2007-05-03 Thread Michael Stone
Dear Cabal Developers, First, thanks for the excellent work so far. Second, I thought I'd report a frustrating experience I had on my first attempt to package a library. I'm currently extracting a Cairo binding from Gtk2hs because I want to use Cairo on a server that doesn't have X or GTK readil