Re: haddock arguments

2013-06-22 Thread Carter Schonwald
oops, forgot to link to my example setup.hs https://gist.github.com/cartazio/5842786 there yah go On Sat, Jun 22, 2013 at 6:09 PM, Carter Schonwald < carter.schonw...@gmail.com> wrote: > I think you can probably set the flags for the it much more nicely via > http://hackage.haskell.org/packages/

Re: haddock arguments

2013-06-22 Thread Carter Schonwald
I think you can probably set the flags for the it much more nicely via http://hackage.haskell.org/packages/archive/Cabal/1.16.0.3/doc/html/Distribution-Simple-Program.htmland the haddockProgram record. heres an example Setup.hs that does something very, similar, in this case making sure that "-pgm

haddock arguments

2013-06-22 Thread Benjamin Scarlet
Distribution.Simple.Setup.HaddockFlags(haddockProgramArgs) is a [(String, [String])]. What does it mean? I've got a package with a largish file which makes haddock blow it's stack, so it needs ghc rts options. I can do this on the command line with +RTS -K32M -RTS. Can I bake it into my package