summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorKrasimir Angelov <kr.angelov@gmail.com>2022-08-24 11:57:47 +0200
committerKrasimir Angelov <kr.angelov@gmail.com>2022-08-24 11:57:47 +0200
commit1294269cd60f3db7b056135104615625baeb528c (patch)
tree67be66264691072b928c1a3a6603f565f30b4ea8 /README.md
parent3acb7d2da481350a7be328d6f7c0b095661d05ec (diff)
workaround for the Nix madness
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
index 79e6ab68f..2d64a999f 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,21 @@ or:
```
stack install
```
+Note that if you are unlucky to have Cabal 3.0 or later, then it uses
+the so-called Nix style commands. Using those for GF development is
+a pain. Every time when you change something in the source code, Cabal
+will generate a new folder for GF to look for the GF libraries and
+the GF cloud. Either reinstall everything with every change in the
+compiler, or be sane and stop using cabal-install. Instead you can do:
+```
+runghc Setup.hs configure
+runghc Setup.hs build
+runghc Setup.hs install
+```
+The script will install the GF dependencies globally. The only solution
+to the Nix madness that I found is radical:
+
+ "No person, no problem" (Нет человека – нет проблемы).
For more information, including links to precompiled binaries, see the [download page](https://www.grammaticalframework.org/download/index.html).