Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d9318dfd7e
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 33 lines (24 sloc) 0.802 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
#! /usr/bin/env python

# Bootstrap script for the Haskell Platform Windows installer. Written in
# Python cause I can't depend on necessary Haskell libs being installed.

# TODO
# * Move the lib dir to $GHC_DIR/extralibs
# * Modify $GHC_DIR/package.conf
# * Copy $GHC_DIR to $PWD/files
# * Add icons


bootstraplibs = [("mtl", "1.1.0.2"),
                 ("parsec", "2.1.0.1"),
                 ("network", "2.2.1.7"),
                 ("HTTP", "4000.0.9"),
                 ("zlib", "0.5.2.0")]

extratools = [("alex", "2.3.3"),
              ("happy", "1.18.5"),
              ("haddock", "2.7.2"),
              ("cabal-install", "0.8.2")]

def install(lib):
    name, version = lib

def main():
    for lib in (extralibs + extratools):
        install(lib)

if __name__ == "__main__":
    main()
Something went wrong with that request. Please try again.