Skip to content

remyoudompheng/archhaskell-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# 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

About

Arch Haskell build infrastructure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published