danimad / haskell-stack-for-old-mac-os-x

Prebuilt binary of Haskell Stack for old Mac OS X

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Haskell Stack binary for old Mac OS X

Build Status

I still have (not as my main machine of course) an old early 2008 black MacBook which is running Mac OS X 10.7.5, and cannot be upgraded beyond that.

Haskell Stack is not supported for this machine and no binary for it is available, so I have to build it from source using just Cabal, then use the binary to bootstrap further builds. Once bootstrapped, building newer versions is simple. For example, upgrading to Stack 1.0.0 required:

$ stack unpack stack-1.0.0
$ cd stack-1.0.0
$ stack install --flag cryptonite:-support_aesni

If you have another package that needs cryptonite (for example pandoc) you need to use the above mentioned flag again:

$ stack install PACKAGE_NAME --flag cryptonite:-support_aesni

This works around the following:

About

Prebuilt binary of Haskell Stack for old Mac OS X