From 9fdf0eca8aea20522220b212d04de0b964c2a022 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Mon, 9 Dec 2024 12:47:19 +0100 Subject: [PATCH] Add Nim 2.x specific configuration --- config.nims | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config.nims b/config.nims index eacae8d..d816c1a 100644 --- a/config.nims +++ b/config.nims @@ -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