[arch-haskell] The next step for [haskell]

Magnus Therning magnus at therning.org
Sat Oct 12 07:40:07 UTC 2013


On Tue, Mar 6, 2012 at 11:16, Alessandro Pezzoni
<alessandro_pezzoni at lavabit.com> wrote:
> I noticed that the current ghc from [ghc74], i.e. 7.4.1-4, isn't
> providing the same packages ghc from [extra] provides (or, at least,
> it doesn't turn up if I search for those packages). Is this done on
> purpose?

Yes, it is on purpose.

A bit of history: A while back, when `cabal2arch` was still used, it
was decided that when translating a Cabal package to an ArchPkg all
its dependencies should be translated into dependencies on ArchPkgs,
and that ghc should have each included library in its `provides`
array.  This meant that `cabal2arch` didn't need to keep track of what
libs shipped with ghc, this was good since a change in the list was a
bit cumbersome to handle.

The present: We now use `cblrepo` and we keep track of the libs
shipped with ghc in `cblrepo.db` together with the rest of the
ArchHaskell libs. Nowadays the generated source packages only depend
on `ghc`, not on the individual libs that comes with it, so there is
no need (in ArchHaskell) to include that long `provides` array.

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus




More information about the arch-haskell mailing list