about summary refs log tree commit diff
path: root/src/libexpr/primops.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-01-07T12·43+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-01-07T12·43+0100
commit153a943de7c333470e2b7338a8edae4a8ae52181 (patch)
treee5371991d49910300e704e2309c29b1b72da94a7 /src/libexpr/primops.cc
parent6fec43ccb3ebaa979c95143ee49c857d22ac4abf (diff)
Show position info for failing <...> lookups
Diffstat (limited to 'src/libexpr/primops.cc')
-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 cd7b287e29c3..119e71a0497e 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -775,7 +775,7 @@ static void prim_findFile(EvalState & state, const Pos & pos, Value * * args, Va
             % path % e.path % pos);
     }
 
-    mkPath(v, state.findFile(searchPath, path).c_str());
+    mkPath(v, state.findFile(searchPath, path, pos).c_str());
 }
 
 /* Read a directory (without . or ..) */