aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/nixexpr.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@protonmail.com>2022-03-14 11:58:11 -0600
committerBen Burdette <bburdette@protonmail.com>2022-03-14 11:58:11 -0600
commit3dfab6e534e0a1cf71c000a4d2a74e050ba576ce (patch)
tree8c19ec675d69776f88fe5c40bfe08fe21b45f9d9 /src/libexpr/nixexpr.cc
parenteaecaaa00ba79b05f49a908f2c96c6507d3a2d7b (diff)
have only one debuggerHook declaration
Diffstat (limited to 'src/libexpr/nixexpr.cc')
-rw-r--r--src/libexpr/nixexpr.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libexpr/nixexpr.cc b/src/libexpr/nixexpr.cc
index e09bd9484..add65c1a2 100644
--- a/src/libexpr/nixexpr.cc
+++ b/src/libexpr/nixexpr.cc
@@ -6,6 +6,9 @@
namespace nix {
+/* Launch the nix debugger */
+
+std::function<void(const Error * error, const Env & env, const Expr & expr)> debuggerHook;
/* Displaying abstract syntax trees. */