Add Nim 2.x specific configuration

This commit is contained in:
Arnaud 2024-12-09 12:47:19 +01:00
parent d73dc48515
commit 9fdf0eca8a
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663

View File

@ -1,2 +1,9 @@
switch("define", "libp2p_pki_schemes=secp256k1")
# begin Nimble config (version 2)
when withDir(thisDir(), system.fileExists("nimble.paths")):
include "nimble.paths"
# end Nimble config
when (NimMajor, NimMinor) >= (2, 0):
--mm:refc