Arch Haskell build infrastructure
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README

# If you don't have a PKGLIST: check out habs and regenerate it
git clone git://github.com/archhaskell/habs.git
scripts/extract-pkglist > PKGLIST

# Download the Hackage tarball
wget http://hackage.haskell.org/packages/archive/00-index.tar.gz
gunzip 00-index.tar.gz

# find inconsistencies
(cd scripts && ghc -o findconflicts findconflicts.hs -Wall -package archlinux -threaded)
scripts/findconflicts PKGLIST 00-index.tar +RTS -N4

# find updates
(cd scripts && ghc -o findupdates findupdates.hs -Wall -package archlinux -threaded)
scripts/findupdates PKGLIST 00-index.tar +RTS -N4

# Create chroots for building
scripts/setup-chroots

# Create a new PKGBUILD tree
# TODO: implement setting pkgrel from PKGLIST in manycabal2arch
mkdir habs-new
manycabal2arch PKGLIST 00-index.tar habs-new &>! manycabal2arch.log

# Batch build it (use toposort from archlinux/tests)
# Packages go to chroot-$arch/repo
./makeworld