Created attachment 181205 [details] Diff to add option to build and install Nim tools Since Nim 0.15.0 nimble, nimgrep and nimsuggest are now bundled with Nim (according to https://github.com/nim-lang/nimble & https://github.com/nim-lang/nimsuggest). This patch adds an option to build and install them along with Nim. The devel/nimble package could probably also be removed if these changes are applied.
The reason that Nimble is a separate port is because the build process included in the Nim distribution fetches the source from git independently. I'm not sure that it's allowed to bypass the port distribution fetching process like this. Also it would require an added build dependency on git which your patch does not include. The source for nimgrep and nimsuggest are included in the Nim distribution, so it would be possible to build them with the lang/nim port, but it would be necessary to patch koch.nim in order to not build nimble. This is just the removal of the call to buildNimble at the end of buildTools I think.
Bug #219381 updates nim to 0.17.0 and includes these suggested changes, except for Nimble of course which still has a separate port.
Is this solved, could it be closed?
As said in comment 2, this has already been addressed and therefore can be closed.