Define the version of nim package without using system module (#21415)

This is follow up from https://github.com/nim-lang/Nim/pull/21313

(cherry picked from commit 9b5ae2b2eb)
This commit is contained in:
Ivan Yonchovski
2023-03-02 06:30:55 +02:00
committed by narimiran
parent 5c36f24da2
commit cdbcada3d7

View File

@@ -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"