aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/nixexpr.hh
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2021-10-02 13:47:36 -0600
committerBen Burdette <bburdette@gmail.com>2021-10-02 13:47:36 -0600
commitaad27143c67c863bd4886186bdf68f4796ca26c3 (patch)
treecefa7abed45e9f2a3916d8b6d911ebc325557d72 /src/libexpr/nixexpr.hh
parentb9d08b98da4ab18f0c1c8bee30bd4ad934a5cdcf (diff)
storing staticenv bindings
Diffstat (limited to 'src/libexpr/nixexpr.hh')
-rw-r--r--src/libexpr/nixexpr.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/nixexpr.hh b/src/libexpr/nixexpr.hh
index ce3ee9f4d..341d80b35 100644
--- a/src/libexpr/nixexpr.hh
+++ b/src/libexpr/nixexpr.hh
@@ -85,7 +85,7 @@ struct Expr
virtual Value * maybeThunk(EvalState & state, Env & env);
virtual void setName(Symbol & name);
- std::shared_ptr<StaticEnv> staticenv;
+ std::shared_ptr<const StaticEnv> staticenv;
};
std::ostream & operator << (std::ostream & str, const Expr & e);