refactor os imports into corresponding small modules (#20720)

This commit is contained in:
ringabout 2022-11-01 17:18:04 +08:00 • committed by GitHub
commit 6166b796ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 11 additions and 8 deletions

View file

@ -31,7 +31,7 @@ from std/strutils import contains, toLowerAscii
when not defined(nimscript):
from std/osproc import execProcess
from std/os import existsEnv
from std/envvars import existsEnv
type
Distribution* {.pure.} = enum ## the list of known distributions