diff options
| author | Krasimir Angelov <kr.angelov@gmail.com> | 2022-08-24 11:57:47 +0200 |
|---|---|---|
| committer | Krasimir Angelov <kr.angelov@gmail.com> | 2022-08-24 11:57:47 +0200 |
| commit | 1294269cd60f3db7b056135104615625baeb528c (patch) | |
| tree | 67be66264691072b928c1a3a6603f565f30b4ea8 /README.md | |
| parent | 3acb7d2da481350a7be328d6f7c0b095661d05ec (diff) | |
workaround for the Nix madness
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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). |
