[arch-haskell] cabal2arch 0.6.1 now generates bad dependencies

Magnus Therning magnus at therning.org
Sun Jan 17 04:17:55 EST 2010


On Sat, Jan 16, 2010 at 8:18 PM, Adam Vogt <vogt.adam at gmail.com> wrote:
[..]
> ] removeCoreFrom :: [Dependency] -> [Dependency]
>
> Considering the current ghc now provides haskell-* packages for all of
> it's core libraries:
>
>   Provides       : haskell-array=0.3.0.0  haskell-bytestring=0.9.1.5  haskell-cabal=1.8.0.2
>                    haskell-containers=0.3.0.0  haskell-directory=1.0.1.0
>                    haskell-extensible-exceptions=0.1.1.1  haskell-filepath=1.1.0.3
>                    haskell-haskell98=1.0.1.1  haskell-hpc=0.5.0.4
>                    haskell-old-locale=1.0.0.2  haskell-old-time=1.0.0.3
>                    haskell-pretty=1.0.1.1  haskell-process=1.0.1.2  haskell-random=1.0.0.2
>                    haskell-syb=0.1.0.2  haskell-template-haskell=2.4.0.0
>                    haskell-time=1.1.4  haskell-unix=2.4.0.0  haskell-utf8-string=0.3.4
>
> That would make all library dependencies explicit (well other than
> base). If ghc continues to reduce the set of core libraries (ex. mtl is
> missing from 6.12), pkgbuilds will have to be updated less frequently.

I think that is the Correct Way to do it!

> But perhaps such a change isn't worth the extra time pacman will then
> take to resolve dependencies... and also other bugs in yaourt it might
> expose.

IMHO these are fairly silly reasons, pacman's dependency resolution
may be slow, but it is insignificant compared to other stages during
package building, for installing pre-built packages it might be more
significant but I strongly doubt that it's enough to put people off.

As for exposing bugs in yaourt, surely this is only good, isn't it? ;-)

/M

-- 
Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe


More information about the arch-haskell mailing list