diff --git a/bindings/nim/config.nims b/bindings/nim/config.nims index bcd85a0..7a3e931 100644 --- a/bindings/nim/config.nims +++ b/bindings/nim/config.nims @@ -1,3 +1,6 @@ +when fileExists("nimble.paths"): + include "nimble.paths" + import strutils from os import DirSep diff --git a/bindings/nim/tests/test_all.nim b/bindings/nim/tests/test_all.nim index e2e51e3..fba7bdb 100644 --- a/bindings/nim/tests/test_all.nim +++ b/bindings/nim/tests/test_all.nim @@ -1,14 +1,5 @@ import test_abi, test_kzg, - test_kzg_ex - -when (NimMajor, NimMinor) >= (1, 4) and - (NimMajor, NimMinor) <= (1, 6): - # nim devel causes shallowCopy error - # on yaml - import - test_yaml -else: - {.warning: "test_yaml skipped because Nim version " & - $NimMajor & "." & $NimMinor & " currently not supported.".} + test_kzg_ex, + test_yaml