diff options
author | Shea Levy <shea@shealevy.com> | 2014-10-19T00·25-0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2014-10-19T00·28-0400 |
commit | 0ee1ca628affcf992f3ec0cd0c9344fd825b9825 (patch) | |
tree | 73ada502557738b6dc14117075beea0d095494e1 | |
parent | d16e3c7f091b0ecc4975368575c71d69ce7a9bc7 (diff) |
baseNameOf: Don't copy paths to the store first
-rw-r--r-- | src/libexpr/primops.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 50d03f369bf9..a7884cb85521 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); } |