aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-09-12 15:37:09 +0200
committerEelco Dolstra <edolstra@gmail.com>2022-12-12 14:05:35 +0100
commitae5f62a894190e0075eb60ae4537ba81ca2a0a8d (patch)
treed6b3d856a8c7b6e4e32d54b3f1c3f0cc5b2d2d3c /src/libexpr/primops
parent7396844676651ea8ee017b9c7578581c5885e0f9 (diff)
Move isUri() and resolveUri() out of filetransfer.cc
These are purely related to NIX_PATH / -I command line parsing, so put them in libexpr.
Diffstat (limited to 'src/libexpr/primops')
-rw-r--r--src/libexpr/primops/fetchTree.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libexpr/primops/fetchTree.cc b/src/libexpr/primops/fetchTree.cc
index 84e7f5c02..680446787 100644
--- a/src/libexpr/primops/fetchTree.cc
+++ b/src/libexpr/primops/fetchTree.cc
@@ -220,8 +220,6 @@ static void fetch(EvalState & state, const PosIdx pos, Value * * args, Value & v
} else
url = state.forceStringNoCtx(*args[0], pos);
- url = resolveUri(*url);
-
state.checkURI(*url);
if (name == "")