Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Scripts to build the haskell platform OSX installer

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 img
Octocat-spinner-32 util
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 Uninstall GHC
Octocat-spinner-32 haskell-platform.cabal
Octocat-spinner-32 make-packages.sh
Octocat-spinner-32 post.sh
Octocat-spinner-32 postflight
Octocat-spinner-32 pre.sh
Octocat-spinner-32 preflight
README.md

This stuff is a mess but it's improving, despite my cosmic psychic battle with Apple's demonic engineers.

Instructions:

  • install cabal2macpkg: http://github.com/gregorycollins/cabal2macpkg/tree/master

  • zap your GHC install: "sudo /Library/Frameworks/GHC.framework/Tools/Uninstaller"

  • "rm -Rf ~/.ghc ~/.cabal" (just to make sure)

  • install a fresh GHC binary package

  • make sure cabal-install is installed, run "cabal update"

  • run "sudo make" -- this will dump a bunch of .pkg files into a subdirectory of build/.

  • Using Apple's GUI packagemaker tool, package those up along with the "pkg/hp-postflight.pkg" file (make sure that one goes last!) into a haskell-platform-xxxx.w.y.z.pkg installer package.

  • build a .dmg file containing the GHC installer package and the platform installer package. If you can figure out how to bundle these together, PLEASE email me: greg@gregorycollins.net.

    There's an Illustrator file containing the background I've been using in the img/ directory (mostly cosmetic)

Good luck (you'll probably need it)!

Something went wrong with that request. Please try again.