Define new symbol to support distros in older Nimble versions.

This commit is contained in:
Dominik Picheta 2017-01-03 17:06:18 +00:00
commit 040189dfca
3 changed files with 3 additions and 2 deletions

View file

@ -590,7 +590,7 @@ As an example, to specify a dependency on openssl you may put this in your
.nimble file:
```nim
when defined(nimdistros):
when defined(nimbledistros):
import distros
if detectOs(Ubuntu):
foreignDep "libssl-dev"