about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/download.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/download.cc b/src/libexpr/download.cc
index 062622000dc2..9bf3e13aa9da 100644
--- a/src/libexpr/download.cc
+++ b/src/libexpr/download.cc
@@ -229,7 +229,7 @@ bool isUri(const string & s)
     size_t pos = s.find("://");
     if (pos == string::npos) return false;
     string scheme(s, 0, pos);
-    return scheme == "http" || scheme == "https";
+    return scheme == "http" || scheme == "https" || scheme == "file";
 }