-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Do not use system.NimVersion for nim.nimble #21313
Conversation
- That version is evaluaed in the context of `nim` version used by `nimble`
Maybe |
Nimble delegates Nimscript evaluation to Nim so this should be fine. |
@Araq indeed. If you do the following choosenim "#version-1-2"
nimble install you will end up with the following package in the pkgs2 directory: and the following output:
That will happen no matter what is the Nim version you have checked out. |
I don't understand, why is this a problem? |
@Araq, it is a problem when you have something like See nim-lang/nimble#1017 . |
We will forget to update |
I will check if we can work with that. It is a bit unclear to me what version should I use in case the revision at hand is not tagged. In general, I can patch |
You don't have to special case Nim for this, Nimble should accept nimble files lacking |
This is follow up from nim-lang#21313
This is follow up from nim-lang#21313
…ng#21415) This is follow up from nim-lang#21313
…ng#21415) This is follow up from nim-lang#21313
nim
version used bynimble