-
Notifications
You must be signed in to change notification settings - Fork 190
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
Improves nim installation by using csources (same as atlas) #1233
Conversation
Notice when SAT is enabled, csources is stored in the cache. Missing: -- Proper reporting -- Handle special versions (assume csources_2?). We could have special cases for #version-x - Refactor to another file (nimble.nim is crazy big already)
#TODO We could test special against the special versionn-x branch to get the right csources | ||
if nimVersion.isSpecial or (major == 1 and minor >= 9) or major >= 2: | ||
# already uses csources_v2 | ||
"csources_v2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More future proof would be:
if major >= 3: "csources_v" &$major
But it's also somewhat risky to predict the future this far.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok but It's an easy enough change to do when csources
is increased as there is a test already that uses it in the nimble
ci
Notice when SAT is enabled, csources is stored in the cache.
Missing: