Skip to content

fuguswarm/ghc-dot-app

 
 

Repository files navigation

The easy way to install Haskell on Mac!

Want to try Haskell on your Mac without having to use homebrew or even install anything globally? Download a self-contained GHC release here!

What it includes

  • GHC 7.10.3
  • cabal-install 1.22.8.0 (just the binary)
  • stack 0.1.10.0 (just the binary)
  • HTML documentation
  • man pages

Building

To build from this repository you will need an existing installation of GHC such as the self-contained release above.

The Makefile will take care of satisfying any dependencies you might need except for Xcode. It leverages stack to do everything.

Minimal (no GUI helper)

This will build a relocatable ghc-7.10.3.app in ./dist/build using the binaries of GHC and stack from GitHub. cabal will be built from stack lts-5.4. This does not include the GUI helper.

USAGE:

$ make

To clean up:

$ rm -rf ./dist/

Add this GHC to your PATH (assuming it has moved to /Applications):

export PATH=$HOME/.local/bin:$HOME/.cabal/bin:/Applications/ghc-7.10.3.app/Contents/bin:$PATH

Full (GUI helper with code signing)

USAGE:

$ (cd GHC; xcodebuild)

Will produce a signed release build at ./GHC/build/Release/GHC.app, if you have setup a signing identity with a Developer ID certificate.

If for some reason there is no icon, first a few obsceneties about Xcode under your breath, and then do a clean build like this:

$ (cd GHC; xcodebuild clean build)

TODO

About

Tool to build a relocatable GHC for Mac OS X

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.9%
  • Objective-C 3.0%
  • Haskell 2.7%
  • CSS 0.1%
  • Makefile 0.1%
  • Shell 0.1%
  • HTML 0.1%