aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/nixexpr.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2021-09-22 18:14:57 -0600
committerBen Burdette <bburdette@gmail.com>2021-09-22 18:14:57 -0600
commitc07edb1932b0f747b563aceaecc5550f5ce192fb (patch)
treec1c996e24b4590bf83c6fc8093d6a84289e86023 /src/libexpr/nixexpr.cc
parentc7e3d830c1f305797b7a4c8b8199ba913d6b8a02 (diff)
staticenv should be With
Diffstat (limited to 'src/libexpr/nixexpr.cc')
-rw-r--r--src/libexpr/nixexpr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/nixexpr.cc b/src/libexpr/nixexpr.cc
index 6db047bf7..8b883e185 100644
--- a/src/libexpr/nixexpr.cc
+++ b/src/libexpr/nixexpr.cc
@@ -407,7 +407,7 @@ void ExprWith::bindVars(const std::shared_ptr<const StaticEnv> &env)
attrs->show(std::cout);
std::cout << std::endl;
attrs->bindVars(env);
- auto newEnv = std::shared_ptr<StaticEnv>(new StaticEnv(false, env.get())); // also make shared_ptr?
+ auto newEnv = std::shared_ptr<StaticEnv>(new StaticEnv(true, env.get())); // also make shared_ptr?
std::cout << " ExprWith::bindVars 2" << std::endl;
std::cout << " body: " << std::endl;
body->show(std::cout);