about summary refs log tree commit diff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-01T14·18+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-01T14·18+0200
commitbc51175dc0c5f5e2106e73779663e9942dd451c4 (patch)
tree167d524816bd16c9678e5cf7d199559db0e55668 /src/libexpr
parentda196ec68f8b34e0c4c7ee32beb9073b31b1531e (diff)
Add tarball tests
Diffstat (limited to 'src/libexpr')
-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";
 }