nim-lang / atlas

The Atlas Package cloner. It manages an isolated workspace that contains projects and dependencies.
MIT License
98 stars 14 forks source link

atlas use does not resolve all dependencies #87

Open Clonkk opened 9 months ago

Clonkk commented 9 months ago

Running atlas use norm in a workspace does not fetch db_connectors required by Norm's dependencies lowdb.

In order to get norm to compile it is necessary to install db_connectors manually.

Araq commented 7 months ago

Because it's in a when which Atlas does not evaluate:


when NimMajor == 2 or (NimMajor >= 1 and NimMinor >= 9):
  requires "db_connector >= 0.1.0"

Not sure what we can do about it, I suppose Atlas must at least in a debug mode evaluate the NimScript.