From a44586f6530c10879ad2817be0cb9a4ef5490f9a Mon Sep 17 00:00:00 2001 From: Ivan FB Date: Thu, 2 Apr 2026 15:13:35 +0200 Subject: [PATCH] adapt config.nims --- config.nims | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/config.nims b/config.nims index 0655bf092..3ca65738c 100644 --- a/config.nims +++ b/config.nims @@ -9,12 +9,6 @@ if defined(windows): switch("passL", "rln.lib") switch("define", "postgres=false") - # Automatically add all vendor subdirectories - for dir in walkDir("./vendor"): - if dir.kind == pcDir: - switch("path", dir.path) - switch("path", dir.path / "src") - # disable timestamps in Windows PE headers - https://wiki.debian.org/ReproducibleBuilds/TimestampsInPEBinaries switch("passL", "-Wl,--no-insert-timestamp") # increase stack size @@ -121,3 +115,7 @@ if defined(android): switch("passC", "--sysroot=" & sysRoot) switch("passL", "--sysroot=" & sysRoot) switch("cincludes", sysRoot & "/usr/include/") +# begin Nimble config (version 2) +when withDir(thisDir(), system.fileExists("nimble.paths")): + include "nimble.paths" +# end Nimble config