takusen -> cabal -> ArgDescr (2) - my journey + suggestion

Marc Weber marco-oweber at gmx.de
Tue Mar 11 14:48:30 EDT 2008


Hi Alistair!
Wow, the author himself :)

Dcoutts has suggested this replacement.
Reading it in combination with the manual has brought much insight in
how powerful cabal can be.
He has pasted it : http://hpaste.org/6279
I haven't tried it yet but it looks really nice.

The only thing missing is extending cabal so that configuration fails
(thus flags get disabled automatically) if libs/ includes aren't found.
Maybe this already works with pkg-config (don't know yet)..

Meanwhile I've done the quickest hack just inserting the libs dirs
manually and disabling the auto detect features (which works fine for
nix), at least ghci -package Takusen no longer shows any errors.

The Cabal version I've used is no older than 2 weeks.

Alistair, Dcoutts: Thanks for your attention.

It's more important getting started with the lib and adding gtk2hs etc
than improving cabal. But it's good to know how it can / should be done
in the future.

Sincerly
Marc Weber



More information about the cabal-devel mailing list