installing non-haskell binaries with cabal
duncan.coutts at worc.ox.ac.uk
Wed Jun 11 06:08:51 EDT 2008
On Mon, 2008-06-09 at 16:37 -0700, Jonathan Cast wrote:
> On Mon, 2008-06-09 at 16:22 -0700, Don Stewart wrote:
> > gwern0:
> > > And of course, at that point, you'd be better off just writing the
> > script in Haskell.
> > >
> > > (Seriously, I had to do that for the Roguestar packages. It was
> > hardly
> > > any trouble at all - Haskell is a better scripting language than I
> > > think people give it credit for.)
> > I'd agree here. It probably is easier to rewrite it in Haskell (just
> > use system everywhere), and keep easy distribution via cabal-install.
> Yikes. Every time I learn something new about Cabal, it's /always/ some
> new limitation, never a new feature. Are there any plans to someday
> permit doing things with Cabal the Cabal developers haven't added
> specific code for yet?
All these things are already possible (if not easy) using custom code in
the Setup.hs script and/or using a ./configure script.
More information about the Libraries