about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nix-repl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-repl.cc b/nix-repl.cc
index dea50a779a95..ab943f7bac1b 100644
--- a/nix-repl.cc
+++ b/nix-repl.cc
@@ -656,7 +656,7 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m
         break;
 
     case tLambda:
-        str << ESC_BLU "«lambda»" ESC_END;
+        str << ESC_BLU "«lambda defined at " << v.lambda.fun->pos << "»" ESC_END;
         break;
 
     case tPrimOp: