Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Doaxan opened this issue Jan 12, 2024 · 0 comments
Open

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

Doaxan opened this issue Jan 12, 2024 · 0 comments

Comments

@Doaxan
Copy link

Doaxan commented Jan 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant