Merge branch 'fix-nim-path-2'

This commit is contained in:
Ștefan Talpalaru 2019-09-04 18:53:19 +02:00
commit 1f2e3c1dba
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 3 additions and 1 deletions

View File

@ -24,9 +24,11 @@ export NIMBUS_ENV_DIR="${ABS_PATH}"
export GOPATH="${ABS_PATH}/../../go"
export GO111MODULE=on
export NIM_PATH=$(cd "${ABS_PATH}/../vendor/Nim/bin"; pwd)
#- make it an absolute path, so we can call this script from other dirs
#- we can't use native Windows paths in here, because colons can't be escaped in PATH
export PATH="${ABS_PATH}/../vendor/Nim/bin:${GOPATH}/bin:${PATH}"
export PATH="${NIM_PATH}:${GOPATH}/bin:${PATH}"
# Nimble needs this to be an absolute path
export NIMBLE_DIR="${ABS_PATH}/../../.nimble"