diff options
author | Vindaar <basti90@gmail.com> | 2023-10-20 19:04:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-20 19:04:01 +0200 |
commit | 2b1a671f1cbe4d3443537435ef0f0cddf928abbf (patch) | |
tree | b128a3a181eb3c75c44ba461236205adad71acb9 /lib/std | |
parent | e10878085eaf215a6782cde5c2ea79d4cdf0f40e (diff) | |
download | Nim-2b1a671f1cbe4d3443537435ef0f0cddf928abbf.tar.gz |
explicitly import using `std/` in `tempfiles.nim` (#22851)
At least on modern Nim `tempfiles` is not usable if the user has https://github.com/oprypin/nim-random installed, because the compiler picks the nimble path over the stdlib path (apparently).
Diffstat (limited to 'lib/std')
-rw-r--r-- | lib/std/tempfiles.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/tempfiles.nim b/lib/std/tempfiles.nim index 1160aaaad..582cf531e 100644 --- a/lib/std/tempfiles.nim +++ b/lib/std/tempfiles.nim @@ -17,7 +17,7 @@ See also: * `mkstemp` (posix), refs https://man7.org/linux/man-pages/man3/mkstemp.3.html ]# -import os, random +import std / [os, random] when defined(nimPreviewSlimSystem): import std/syncio |