Instead of detecting nim-workspace, detect nimbus-build-system

This commit is contained in:
Zahary Karadjov 2022-04-12 19:36:09 +03:00
commit 49e2c52eb5

View file

@ -20,7 +20,7 @@ proc test(args, path: string) =
var common_args = "-r -f " & getEnv("NIMFLAGS") & " --hints:off --styleCheck:usages --styleCheck:error"
if getEnv("IN_STATUS_NIM_WORKSPACE") == "":
if getEnv("NIMBUS_ENV_DIR") != "":
common_args &= " --skipParentCfg"
exec "nim " & lang & " " & args &