Skip to content

Commit

Permalink
Remove nim 2.0.0 restriction
Browse files Browse the repository at this point in the history
* Update nph.nimble

"nim >= 2.0.0"

* Update nph.nim

remove static: nim 2.0.0 restriction
  • Loading branch information
Doaxan authored Jan 14, 2024
1 parent 8c21825 commit eb55374
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion nph.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -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() =
Expand Down
4 changes: 0 additions & 4 deletions src/nph.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit eb55374

Please sign in to comment.