Just check for nimdistros instead of adding an additional define.

This commit is contained in:
Dominik Picheta 2017-01-03 19:00:39 +00:00
commit b629048249
4 changed files with 2 additions and 6 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(nimbledistros):
when defined(nimdistros):
import distros
if detectOs(Ubuntu):
foreignDep "libssl-dev"