Just check for nimdistros instead of adding an additional define.
This commit is contained in:
parent
fcbb3de783
commit
b629048249
4 changed files with 2 additions and 6 deletions
|
|
@ -22,9 +22,6 @@ var
|
|||
foreignDeps*: seq[string] = @[] ## The foreign dependencies. Only
|
||||
## exported for 'distros.nim'.
|
||||
|
||||
when defined(nimdistros) and defined(nimblesupportsdistros):
|
||||
const nimbledistros = true
|
||||
|
||||
proc requires*(deps: varargs[string]) =
|
||||
## Call this to set the list of requirements of your Nimble
|
||||
## package.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue