Hi, Am Freitag, den 02.07.2010, 17:14 +1000 schrieb Ivan Miljenovic: > On 2 July 2010 16:57, Joachim Breitner <m...@joachim-breitner.de> wrote: > > Am Freitag, den 02.07.2010, 12:55 +1000 schrieb Ivan Miljenovic: > >> This can be resolved by putting the build-depends line in the if > >> statement (and should maybe put up the top of the executable section > >> to make it more obvious): > > > > the latter was not possible last time I checked. > > Do you mean putting the if statement at the top of the executable > section? Works for me: > http://hackage.haskell.org/packages/archive/graphviz/2999.9.0.0/graphviz.cabal > (also in other cases that I've looked at).
sorry, no, I meant wrapping the whole executable section in an if statement, which to seems the most natural way of making an executable conditional. Greetings, Joachim -- Joachim "nomeata" Breitner mail: m...@joachim-breitner.de | ICQ# 74513189 | GPG-Key: 4743206C JID: nome...@joachim-breitner.de | http://www.joachim-breitner.de/ Debian Developer: nome...@debian.org
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe