aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops/fetchTree.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-01-04 18:24:42 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-01-04 18:24:42 +0100
commitcc08364315437bfd870363220373c48f64862e83 (patch)
tree0fa51a76c50ce0490f577525e97e043ab3c5c697 /src/libexpr/primops/fetchTree.cc
parent6d9a6d2cc3a20c9047436d174c9f91a2223da220 (diff)
Remove non-method mkString()
Diffstat (limited to 'src/libexpr/primops/fetchTree.cc')
-rw-r--r--src/libexpr/primops/fetchTree.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops/fetchTree.cc b/src/libexpr/primops/fetchTree.cc
index a97bfcae7..6647bd35c 100644
--- a/src/libexpr/primops/fetchTree.cc
+++ b/src/libexpr/primops/fetchTree.cc
@@ -247,7 +247,7 @@ static void fetch(EvalState & state, const Pos & pos, Value * * args, Value & v,
state.allowPath(storePath);
auto path = state.store->printStorePath(storePath);
- mkString(v, path, PathSet({path}));
+ v.mkString(path, PathSet({path}));
}
static void prim_fetchurl(EvalState & state, const Pos & pos, Value * * args, Value & v)