Mac
Snow Leopard (MacOS X 10.6)
Unfortunately, the ghc port is still broken under Snow Leopard. Here’s a recipe from a successful user.
- Installed “haskell-platform–2009.2.0.2-i386.dmg”
- Patched ghc and hsc2hs as described in:
http://www.haskell.org/haskellwiki/Mac_OS_X#Mac_OS_X_10.6_.28Snow_Leopard.29
- Rebuild zlib and mmap:
$ cabal install —reinstall zlib mmap
- Build darcs branch–2.4:
$ cabal update
$ cabal install darcs
The resulting binary is at least able to run record with interactive hunk edition.
MacPorts
darcs is available via MacPorts.
get and install the port system from www.macports.org if you have not already done so and then you can install darcs via the command:
$ sudo port install darcs
