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

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


Hi,

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
installed.

$ apt-cache show libghc-yesod-dev|grep Depends
Depends: libghc-base-dev-4.3.1.0-91c38,
libghc-base64-bytestring-dev-0.1.0.2-2bc90,
libghc-blaze-builder-dev-0.2.1.4-eb4c4,
libghc-bytestring-dev-0.9.1.10-6aa1e, libghc-cereal-dev-0.3.3.0-7fd4a,
libghc-clientsession-dev-0.4.1-493f6,
libghc-containers-dev-0.4.0.0-b4885,
libghc-data-default-dev-0.2.0.1-9411c,
libghc-directory-dev-1.1.0.0-393d8,
libghc-email-validate-dev-0.2.6-c13c2, libghc-failure-dev-0.1.0.1-1e2c3,
libghc-hamlet-dev-0.6.1.2-ec8f2, libghc-neither-dev-0.1.0-0adb6,
libghc-network-dev-2.3.0.2-824dd, libghc-old-locale-dev-1.0.0.2-161f7,
libghc-parsec-dev-3.1.1-33474, libghc-persistent-dev-0.3.1.3-d494b,
libghc-puremd5-dev-2.1.0.3-754be, libghc-random-dev-1.0.0.3-7511f,
libghc-template-haskell-dev-2.5.0.0-95716,
libghc-text-dev-0.11.0.6-139d7, libghc-time-dev-1.2.0.3-34932,
libghc-transformers-dev-0.2.2.0-4bbbf, libghc-wai-dev-0.2.2.1-53001,
libghc-wai-extra-dev-0.2.4.2-4646d, libghc-web-routes-dev-0.23.4-ab46a,
libghc-web-routes-quasi-dev-0.6.3.1-5c04c,
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
here:
http://anonscm.debian.org/darcs/pkg-haskell/ghc/gen_contents_index.in

Greetings,
Joachim

-- 
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