hscolour -anchor via cabal ?

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sun Mar 2 20:37:16 EST 2008


On Sun, 2008-03-02 at 17:10 -0800, Don Stewart wrote:
> duncan.coutts:
> > 
> > On Sun, 2008-03-02 at 12:06 -0800, Conal Elliott wrote:
> > > Is there a way to get cabal to tell hscolour to add anchors for
> > > top-level defs (hscolour's -anchor option)?
> > 
> > >From a quick look at the code it looks like Cabal always passes the
> > "-anchor" option to HsColour. Do you have a test case where that's not
> > working? Run with -v to see how Cabal is calling HsColour.
> > 
> 
> Btw, something that just occured to me: hscolour is GPL'd -- do we ever
> link against it as a library? Or are we careful to only call the binary?

It's called as a binary. You can convince yourself by checking the
build-depends.

Duncan



More information about the Libraries mailing list