On Tue, Jul 20, 2010 at 8:50 PM, Tom Hawkins <tomahawk...@gmail.com> wrote: > > Thanks. I tried this, but it appears cabal-install ignores the > Setup.hs file. The only way I could get it to take is if I run > 'runhaskell Setup.hs configure' directly. I always assumed > cabal-install runs Setup.hs under the hood, but apparently not. Why > is this?
I believe you must set Build-type: Custom in your cabal file to use user hooks in Setup.hs. I don't fully understand the implications of using Custom, though. --Rogan > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe