about summary refs log tree commit diff stats
path: root/adapter
diff options
context:
space:
mode:
Diffstat (limited to 'adapter')
-rw-r--r--adapter/protocol/about.nim5
1 files changed, 4 insertions, 1 deletions
diff --git a/adapter/protocol/about.nim b/adapter/protocol/about.nim
index 02aacc00..df5ae649 100644
--- a/adapter/protocol/about.nim
+++ b/adapter/protocol/about.nim
@@ -1,4 +1,7 @@
-import std/envvars
+when NimMajor >= 2:
+  import std/envvars
+else:
+  import std/os
 
 const chawan = staticRead"res/chawan.html"
 const license = staticRead"res/license.html"