This commit is contained in:
Andreas Rumpf
2017-09-05 09:03:09 +02:00
parent b880359e84
commit b67ea9e73b
2 changed files with 4 additions and 1 deletions

View File

@@ -495,7 +495,8 @@ proc unixToNativePath*(path: string, drive=""): string {.
inc(i)
include "includes/oserr"
include "includes/osenv"
when not defined(nimscript):
include "includes/osenv"
proc getHomeDir*(): string {.rtl, extern: "nos$1",
tags: [ReadEnvEffect, ReadIOEffect].} =

View File

@@ -22,3 +22,5 @@ task default, "default target":
--define: definedefine
setCommand "c"
# bug #6327
discard existsEnv("dummy")