pragmagic / vscode-nim

An extension for VS Code which provides support for the Nim language.
Other
237 stars 37 forks source link

Fixing 'nim' binary could not be found in PATH on OS X #52

Closed claudiiii closed 7 years ago

claudiiii commented 7 years ago

The output of readlink without the -f flag is a non absolute path. As a result, if you used brew to install nim, the correct binary can't be detected and the error message is shown.

See https://stackoverflow.com/questions/1055671/how-can-i-get-the-behavior-of-gnus-readlink-f-on-a-mac#4031502 on the readlink problem and a solution.

My solution is a bit hacky but should work on all OS X versions.

nonylene commented 7 years ago

I'm sorry, but when will this feature be released?

kosz78 commented 7 years ago

Sorry for delay, it was released recently in 0.5.24 version

nonylene commented 7 years ago

Thank you very much!