Commit 38ac12b5 authored by Jun Matsushita's avatar Jun Matsushita Committed by Sumit Sahrawat

OSX installation instructions.

parent 090ee844
...@@ -10,6 +10,14 @@ cd ihaskell-magic ...@@ -10,6 +10,14 @@ cd ihaskell-magic
cabal install cabal install
``` ```
On OSX:
```bash
brew install libmagic
brew link libmagic
stack install ihaskell-magic --extra-lib-dirs=/usr/local/lib --extra-include-dirs=/usr/local/include
```
The instances provided allow displaying images and text with markup using just one line: The instances provided allow displaying images and text with markup using just one line:
```haskell ```haskell
import qualified Data.ByteString as B import qualified Data.ByteString as B
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment