aboutsummaryrefslogtreecommitdiff
path: root/src/nix/bundle.cc
diff options
context:
space:
mode:
authorGuillaume Maudoux <guillaume.maudoux@tweag.io>2022-03-04 05:04:47 +0100
committerGuillaume Maudoux <guillaume.maudoux@tweag.io>2022-03-04 05:04:47 +0100
commitbe1f0697468bd6c0f2be4f7e058270c161098e9f (patch)
tree0a748b160a40d3ac005af29b4b4d322c459f0e84 /src/nix/bundle.cc
parent00e242feed5ac848f5948dd2731bfabe603999ce (diff)
Add error context for most basic coercions
Diffstat (limited to 'src/nix/bundle.cc')
-rw-r--r--src/nix/bundle.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/bundle.cc b/src/nix/bundle.cc
index 7ed558dee..aa074edc2 100644
--- a/src/nix/bundle.cc
+++ b/src/nix/bundle.cc
@@ -111,7 +111,7 @@ struct CmdBundle : InstallableCommand
if (!outLink) {
auto &attr = vRes->attrs->need(evalState->sName);
- outLink = evalState->forceStringNoCtx(*attr.value,*attr.pos);
+ outLink = evalState->forceStringNoCtx(*attr.value, *attr.pos, "");
}
// TODO: will crash if not a localFSStore?