Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 33 lines (24 sloc) 0.802 kB
0a28809 @23Skidoo Beginnings of a bootstrap script.
authored
1 #! /usr/bin/env python
2
3 # Bootstrap script for the Haskell Platform Windows installer. Written in
4 # Python cause I can't depend on necessary Haskell libs being installed.
5
6 # TODO
7 # * Move the lib dir to $GHC_DIR/extralibs
8 # * Modify $GHC_DIR/package.conf
9 # * Copy $GHC_DIR to $PWD/files
10 # * Add icons
11
d16a430 @23Skidoo Mention that some libs need to be purged.
authored
12
c2e5081 @23Skidoo Bump versions of bootstrap packages.
authored
13 bootstraplibs = [("mtl", "1.1.0.2"),
14 ("parsec", "2.1.0.1"),
15 ("network", "2.2.1.7"),
16 ("HTTP", "4000.0.9"),
17 ("zlib", "0.5.2.0")]
0a28809 @23Skidoo Beginnings of a bootstrap script.
authored
18
c2e5081 @23Skidoo Bump versions of bootstrap packages.
authored
19 extratools = [("alex", "2.3.3"),
20 ("happy", "1.18.5"),
21 ("haddock", "2.7.2"),
22 ("cabal-install", "0.8.2")]
0a28809 @23Skidoo Beginnings of a bootstrap script.
authored
23
24 def install(lib):
25 name, version = lib
26
27 def main():
28 for lib in (extralibs + extratools):
29 install(lib)
30
31 if __name__ == "__main__":
32 main()
Something went wrong with that request. Please try again.