Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove nim 2.0.0 restriction #1

Merged
merged 2 commits into from
Jan 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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