[arch-haskell] darcs patch: Typo correction in String Constant (and 2 more)

Don Stewart dons at galois.com
Sun Aug 24 16:05:14 EDT 2008

> Hello,
> I hacked on cabal2arch a bit tonight. I removed the hand-coded list of
> core packages in favour of generating the list dynamically.
> I use the GHC API to parse the global package database. This entails
> dependencies on ghc and ghc-paths (oh well.)
> I've assumed that any package with all its library-dirs inside
> /usr/lib/ghc-6.8.3 (actually, the libdir from GHC.Paths) is a core
> package. This seems to exclude all the external packages, which get
> installed to /usr/lib/$PkgName-$PkgVer/. Anybody know if this is a bad
> assumption?

This looks great. It saves us the problem of redoing that list on a
compile upgrade.  Cheers!

-- Don

More information about the arch-haskell mailing list