aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops/fetchTree.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-05-01 11:56:37 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-05-01 11:59:56 +0200
commit941f95284ab57e9baa317791327cf1715d8564b5 (patch)
treea0356e15e45a2a13731e38df45f556b6b46d41c0 /src/libexpr/primops/fetchTree.cc
parent0038bbafdec15854ff5a077e52e634efcf3c7436 (diff)
parent404a94ab6914405948640bedb92d1f9ddd502a8a (diff)
Merge remote-tracking branch 'origin/master' into flakes
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 9d1f5b8d4..f9dfb1164 100644
--- a/src/libexpr/primops/fetchTree.cc
+++ b/src/libexpr/primops/fetchTree.cc
@@ -116,7 +116,7 @@ static void fetch(EvalState & state, const Pos & pos, Value * * args, Value & v,
name = state.forceStringNoCtx(*attr.value, *attr.pos);
else
throw EvalError("unsupported argument '%s' to '%s', at %s",
- attr.name, who, attr.pos);
+ attr.name, who, *attr.pos);
}
if (!url)