summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/README.md
diff options
context:
space:
mode:
authorJohn J. Camilleri <john@digitalgrammars.com>2020-07-28 22:54:34 +0200
committerJohn J. Camilleri <john@digitalgrammars.com>2020-07-28 22:54:34 +0200
commitc53353f08763fbbfb5c0abeaa03da6a23aa64080 (patch)
tree89678b42b9a703d67d25eebe1cf394797d994585 /src/runtime/haskell-bind/README.md
parentf00f0cb0ef46d1a203e9d4ac238ec1a2e867fd51 (diff)
Updates to PGF2 readme
Diffstat (limited to 'src/runtime/haskell-bind/README.md')
-rw-r--r--src/runtime/haskell-bind/README.md15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/runtime/haskell-bind/README.md b/src/runtime/haskell-bind/README.md
index f136ad2da..1cb68df65 100644
--- a/src/runtime/haskell-bind/README.md
+++ b/src/runtime/haskell-bind/README.md
@@ -9,13 +9,22 @@ The exposed modules are:
## How to compile
-**Note:** you must have the PGF C runtime already installed and available.
+**Important:** You must have the C runtime already installed and available on your system.
See <https://github.com/GrammaticalFramework/gf-core/blob/master/src/runtime/c/INSTALL>
-Once the runtine is installed, you can use:
+Once the runtine is installed, you can install the library to your global Cabal installation:
```
-cabal install pgf2
+cabal install pgf2 --extra-lib-dirs=/usr/local/lib
+```
+
+or add it to your `stack.yaml` file:
+
+```yaml
+extra-deps:
+ - pgf2
+extra-lib-dirs:
+ - /usr/local/lib
```
## How to use