
24 Aug
2008
24 Aug
'08
8:24 a.m.
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? I also sent these patches to dons. Thanks, Matt