aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-10-18 20:25:55 -0400
committerShea Levy <shea@shealevy.com>2014-10-18 20:28:28 -0400
commit0ee1ca628affcf992f3ec0cd0c9344fd825b9825 (patch)
tree73ada502557738b6dc14117075beea0d095494e1 /src/libexpr
parentd16e3c7f091b0ecc4975368575c71d69ce7a9bc7 (diff)
baseNameOf: Don't copy paths to the store first
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/primops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 50d03f369..a7884cb85 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -730,7 +730,7 @@ static void prim_pathExists(EvalState & state, const Pos & pos, Value * * args,
static void prim_baseNameOf(EvalState & state, const Pos & pos, Value * * args, Value & v)
{
PathSet context;
- mkString(v, baseNameOf(state.coerceToString(pos, *args[0], context)), context);
+ mkString(v, baseNameOf(state.coerceToString(pos, *args[0], context, false, false)), context);
}