Monday, February 02, 2026

Re: [PATCH] lang/nim-2.2.6

On 12/18/25 3:16 AM, Alfred Morgan wrote:
> nim 1.x is no longer supported.
> ports updated to latest nim 2.2.6 patch attached
>
> -alfred

Thanks, but unfortunately it doesn't build with PORTS_PRIVSEP
enabled, since it's trying to fetch sources from github during
the build.
The problem I encountered was with atlas, here:
https://github.com/nim-lang/Nim/blob/bfc27867187e28dd3b5f2a887450cfc2c465da98/koch.nim#L174

However it's probable that the same goes for the other
bundleSomethingExe() functions in koch.nim

What will probably work is to add DIST_TUPLE entries for archives of

NimbleStableCommit = "9207e8b2bbdf66b5a4d1020214cff44d2d30df92"
AtlasStableCommit = "2aa62121b40d580aa2fb27920a37b938d36c5f57"
ChecksumsStableCommit = "0b8e46379c5bc1bf73d8b3011908389c60fb9b98"

etc., extract those in the correct directories during post-extract
and patch out the git gymnastics in koch.nim

If you're still interested in maintaining the port, I'll be happy to review.

cheers,
Volker

No comments:

Post a Comment