Nim icon indicating copy to clipboard operation
Nim copied to clipboard

nimsuggest "Error: cannot open '/usr/lib/system.nim'"

Open Doaxan opened this issue 1 year ago • 0 comments

Description

On a freshly installed nim, nimsuggest & vscode-nim does not work.

Nim Version

Nim Compiler Version 2.0.2 [Linux: amd64] Compiled at 2023-12-24 Copyright (c) 2006-2023 by Andreas Rumpf

active boot switches: -d:release

Current Output

> nimsuggest --stdin --debug Projects/Nim/main.nim
Error: cannot open '/usr/lib/system.nim'

Expected Output

No response

Possible Solution

https://forum.nim-lang.org/t/10482#69928

add --lib:"/usr/lib/nim" line to '/etc/nim/nim.cfg'

Additional Information

Installed via sudo pacman -S nim on manjaro

Doaxan avatar Jan 12 '24 03:01 Doaxan