I see our lang/nim port is three years out of date, at 0.16.0.

The newest version, 1.2.0, works with two patches to use clang instead of gcc.

For the 1.2.0 tarball at https://nim-lang.org/download/nim-1.2.0.tar.xz

patch-build.sh.txt
92d91
<     CC="clang"

patch-config-nim.cfg.txt
202d201
<   cc = clang

patch build.sh patch-build.sh.txt
patch config/nim.cfg patch-config-nim.cfg.txt

# instructions from https://nim-lang.org/install_unix.html
sh build.sh
bin/nim c koch
./koch tools

Sorry I'm not a real porter, but I'm happy to help donate to the foundation if
someone here can help update lang/nim to 1.2.0.   Thank you.

Reply via email to