summary refs log tree commit diff stats
path: root/nim.nimble
diff options
context:
space:
mode:
authorIvan Yonchovski <yyoncho@users.noreply.github.com>2023-03-02 06:30:55 +0200
committerGitHub <noreply@github.com>2023-03-02 05:30:55 +0100
commit9b5ae2b2eb2ba5aca219de109b03f1bb5637a777 (patch)
tree57c6a94c51d90a337eaa8d649acd3988b56495d3 /nim.nimble
parenta137e50150cdbc48fcfb02064aa0c064fec4c7e8 (diff)
downloadNim-9b5ae2b2eb2ba5aca219de109b03f1bb5637a777.tar.gz
Define the version of nim package without using system module (#21415)
This is follow up from https://github.com/nim-lang/Nim/pull/21313
Diffstat (limited to 'nim.nimble')
-rw-r--r--nim.nimble3
1 files changed, 2 insertions, 1 deletions
diff --git a/nim.nimble b/nim.nimble
index 713fc9256..380ffbce8 100644
--- a/nim.nimble
+++ b/nim.nimble
@@ -1,4 +1,5 @@
-version = system.NimVersion
+include "lib/system/compilation.nim"
+version = $NimMajor & "." & $NimMinor & "." & $NimPatch
 author = "Andreas Rumpf"
 description = "Compiler package providing the compiler sources as a library."
 license = "MIT"