FYI:
I installed Nim v1.0.0 using the snap nim-lang package in fresh Linux Mint 19.2 and Ubuntu 18.04.3 Linux and there are a couple of issues:
1.- the binaries are named nim-lang.*
2.- When trying to compile I get an error:
Error: execution of an external compiler program 'gcc -c -I/snap/nim-lang/50/lib -I/home/sergio/Dev/test_nim -o /home/sergio/snap/nim-lang/50/.cache/nim/test_d/test.nim.c.o /home/sergio/snap/nim-lang/50/.cache/nim/test_d/test.nim.c' failed with exit code: 1
In both cases the gcc version is
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.
The limits.h is present so that is not the issue. Is there any suggested workaround for this issue.
Note that the usual "apt install nim" brings an old version, 0.17.2 which compiles a test file so it is unlikely to be a gcc issue. Also installing v1.0 using chosenim works fine.
As I can't find any easy way to provide feedback in the snap store I hope that the snap developer, Hayden Barnes (haydenb) finds this information.
Sergio
We've been tracking that here https://github.com/sirredbeard/nim_lang_snap/issues/2 and I've been chatting on #snapcraft about it. I have tried several workarounds unsuccessfully. I am preparing a detailed bug report to file upstream on snap forums. Rust is having same issue, also heard R is too.
I am @unixterminal on Twitter and hayden at whitewaterfoundry.com.