moigagoo / norm

A Nim ORM for SQLite and Postgres
https://norm.nim.town
MIT License
378 stars 34 forks source link

Put "taskRequires" behind a block for nim 2.0 #196

Closed PhilippMDoerner closed 8 months ago

PhilippMDoerner commented 8 months ago

I'm making this issue to raise awareness as well as making a tiny PR for it:

Using taskrequires is something only the newest nimble version can do. Which you will not be using with nim versions of 1.6 or lower. Thus using taskrequires in the nimble file breaks backwards compatibility with any nim 1.6 version.