aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.hh
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2021-08-24 16:32:54 -0600
committerBen Burdette <bburdette@gmail.com>2021-08-24 16:32:54 -0600
commitbd3b5329f91e6caff387cf361a5c779468f34f88 (patch)
treee1e83311e3e3c530bbed3a1eace61eaade066b95 /src/libexpr/eval.hh
parent4b5f9b35f06754aaf578a2d4b3d730949964ef05 (diff)
print env bindings
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r--src/libexpr/eval.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index 2d167e6eb..f5c685edf 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -44,6 +44,7 @@ struct Env
Value * values[0];
};
+void printEnvBindings(const Env &env, int lv = 0);
valmap * mapEnvBindings(const Env &env);
Value & mkString(Value & v, std::string_view s, const PathSet & context = PathSet());