Maintaining Haskell packages for a Linux distribution—cblrepo

Maintaining a large set of Haskell packages for a Linux distribution is quite a chore. Especially if one wants to track Hackage as far as possible. Several distributions have tools to automatically convert Cabal-based packages into distribution packages, e.g. cabal2arch for ArchLinux and cabal-rpm. They are just conversion tools though, and the most time-consuming activity …

Continue reading ‘Maintaining Haskell packages for a Linux distribution—cblrepo’ »


On maintaining Haskell packages for a Linux distro

When trying to maintain set of binary packages of Haskell libraries for a Linux distribution there are a few issues that come up: The set of packages must be compilable at all times, and Updating one package requires all packages that depend on it, in one or more steps, to be re-compiled. The first requires …

Continue reading ‘On maintaining Haskell packages for a Linux distro’ »


More fun with Cabal, visualising dependencies

It wasn’t why I started playing with Cabal, but after extracting dependencies from a single package I thought struck me that I could extract dependencies from many packages, e.g. hackage, and draw a dependency graph of the result. The basic idea is to use the code from my earlier post, accumulate dependency information by mapping …

Continue reading ‘More fun with Cabal, visualising dependencies’ »


Experience with cabal-debian

So, after receiving several pointers to seereason’s cabal-debian tool I thought I’d take it for a spin.i After about 30 minutes of browsing through HackageDB and seereason’s source repos, building and installing, I had finally satisfied all dependencies and the build of cabal-debian succeeded. (Oh, BTW, seereason people, it’s really confusing that you have a …

Continue reading ‘Experience with cabal-debian’ »