On Tue, Mar 31, 2015 at 10:21 AM, Joachim Breitner <[email protected]> wrote:
> Hi, > > Am Samstag, den 28.03.2015, 15:13 -0700 schrieb David Fox: > > Right, the ones in https://github.com/seereason/haskell-devscripts are > > good. > > all applied (but not yet tested). > > > I wonder how feasible it would be to provide, say, all of Stackage LTS > as Debian packages built for stable, testing and unstable in an > automated fashion somewhere – with cabal-debian and your work on > haskell-devscripts, why not? > Totally doable - We build about 700 packages at http://deb.seereason.com/ubuntu, built using cabal-debian and haskell-devscripts, using our own old, rickety autobuilder tool. The one thing I like about our tool is the way you describe each build target - you can specify that the origin is hackage, or a darcs repo, or git repo, some other rcs, or a tarball, and then you can apply patches as necessary, and supply extra arguments to cabal-debian. Even though Stackage is a curated collection, I think you might end up needing a similar description language for tweaks related to the different underlying distributions, and somehow hook that up to Debian's autobuilder system. It may also be a good idea to add some support to cabal-debian so it can create or add to the debian/patch series in the standard fashion.
