diff --git a/nph.nimble b/nph.nimble index 288443c..499e07e 100644 --- a/nph.nimble +++ b/nph.nimble @@ -12,7 +12,7 @@ bin = @["nph"] # TODO https://github.com/nim-lang/nimble/issues/1166 # Using exact version here and adding path manually :facepalm: # run `nimble setup -l` to hopefully make it work -requires "nim == 2.0.0", +requires "nim >= 2.0.0", "compiler" proc build() = diff --git a/src/nph.nim b/src/nph.nim index 51923f4..7803d29 100644 --- a/src/nph.nim +++ b/src/nph.nim @@ -12,10 +12,6 @@ import "$nim"/compiler/idents import std/[parseopt, strutils, os, sequtils] -static: - doAssert (NimMajor, NimMinor, NimPatch) == (2, 0, 0), - "nph needs to be compiled with nim 2.0.0 exactly for now" - const Version = gorge("git describe --long --dirty --always --tags") Usage =