I am having trouble using the standard library. I installed nim through the snap "store" (1.4).
First of there's a prefix on all of the nim cmds like "nim-lang.nim, nim-lang.nimble" etc. I solved that by symlinks but it does not matter if I use the symlink or directly acces the binary, a simple import fails with "Error: cannot open file: strutils"
I'd appreciate any help! Seems like a very interesting language :D
/ Anders
Hello, you should if you want to test quietly, go to Nim
I personally use
curl https://nim-lang.org/choosenim/init.sh -sSf | sh
This allows me to do my development with ease.
So I have nothing in the base system for my tests
First of there's a prefix on all of the nim cmds like "nim-lang.nim, nim-lang.nimble" etc.
That's how snap work, so you can't change that unfortunately.
The snap versions are not provided by the Nim project but is instead maintained by members of our community. I'd recommend you to raise an issue at the Snap package bug tracker: https://github.com/sirredbeard/nim_lang_snap/issues, though it appears that someone already raised an issue similar to yours.
For the time being you should use choosenim as recommended by @JPLRouge, or use one of our prebuilt tarballs.