Closed zqqw closed 1 year ago
Closed by https://github.com/zqqw/pakku/commit/72654defb34e9143b00d17fc75a923b5abb366da Uncomment # -d:nimPreviewSlimSystem \ in Makefile with newer versions of Nim that support this option if you like - it shouldn't make a difference to the functioning of Pakku, although the internal operation of the binary will reflect the latest developments in Nim.
Info update: The Nim compile option "-d:nimPreviewSlimSystem" allows this to be tested, and with a recent nim-git build at this commit: commit 53eed2be4515a3ae853ae4d2fbd84daa49c1d6d6 Date: Sun Dec 18 22:31:13 2022 +0800 this works and builds fine - although at that point in Nim it fails on a normal build, without these modifications below! I will probably commit these small changes in preparation for Nim 2.0 but leave the -d:nimPreviewSlimSystem commented out, because that option would not be relevant in old or future versions of Nim, so users can edit the Makefile to enable it if desired - or required.