Improve getNimPrefixDir to support choosenim and env var.
See comment for more information. This commit also adds support for an environment variable so that users have a workaround when Nimble cannot find the Nim stdlib.
This commit is contained in:
parent
30d6aaf966
commit
4a71ccbbd4
2 changed files with 21 additions and 1 deletions
|
|
@ -773,6 +773,13 @@ installation.
|
|||
|
||||
Make sure that you are running at least version 0.16.0 of Nim (or the latest nightly).
|
||||
|
||||
* ``Error: cannot open '/home/user/.nimble/lib/system.nim'.``
|
||||
|
||||
Nimble cannot find the Nim standard library. This is considered a bug so
|
||||
please report it. As a workaround you can set the ``NIM_LIB_PREFIX`` environment
|
||||
variable to the directory where ``lib/system.nim`` (and other standard library
|
||||
files) are found.
|
||||
|
||||
## Repository information
|
||||
|
||||
This repository has two main branches: ``master`` and ``stable``.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue