[Haskell-cafe] Best Linux Distro for >>=

Joachim Breitner nomeata at debian.org
Sun Jun 19 12:51:12 CEST 2011


Am Sonntag, den 19.06.2011, 20:31 +1000 schrieb Ivan Lazar Miljenovic:
> > same on Debian, file:///usr/share/doc/ghc-doc/html/libraries/index.html
> > is one of the most-visited locations in my computer :-)
> >
> > For Debian, you can check where we deviate from the Haskell Platform on
> > http://people.debian.org/~nomeata/platform.html
> > and
> > http://people.debian.org/~nomeata/hackagevsdebian.html
> > gives you an idea of our coverage of Hackage.
> >
> > And, something that we are proud of: The dependencies between the
> > Haskell library packages include the ABI hash, so an apt-get upgrade
> > will never break installed Haskell libraries, but only upgrade if all
> > depending packages have been rebuilt.
> Are these binary or source packages that you use the ABI hash?

The binary packages. Here is an example for how we make sure that an ABI
incompatible change to web-routes requires a rebuild of yesod, and that
until that happens the user will not get the new web-routes package

$ apt-cache show libghc-yesod-dev|grep Depends
Depends: libghc-base-dev-,
libghc-bytestring-dev-, libghc-cereal-dev-,
libghc-email-validate-dev-0.2.6-c13c2, libghc-failure-dev-,
libghc-hamlet-dev-, libghc-neither-dev-0.1.0-0adb6,
libghc-network-dev-, libghc-old-locale-dev-,
libghc-parsec-dev-3.1.1-33474, libghc-persistent-dev-,
libghc-puremd5-dev-, libghc-random-dev-,
libghc-text-dev-, libghc-time-dev-,
libghc-transformers-dev-, libghc-wai-dev-,
libghc-wai-extra-dev-, libghc-web-routes-dev-0.23.4-ab46a,
libghc-xss-sanitize-dev-0.2.6-b2c10, libc6 (>= 2.7), libffi5 (>= 3.0.4),
libgmp10, zlib1g (>= 1:1.1.4)
$ apt-cache show libghc-web-routes-dev|grep Provides
Provides: libghc-web-routes-dev-0.23.4-ab46a

> Also,
> how do you manage to update the documentation index on package
> installation/removal?

The ghc-doc package installs a dpkg trigger that watches certain
directories (the directories where library install their package
descriptions and .haddock files). If such a change
happens, /usr/lib/ghc-doc/gen_contents_index is run, which can be seen


Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110619/dbac3f78/attachment.pgp>

More information about the Haskell-Cafe mailing list