about summary refs log tree commit diff
path: root/third_party/nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-07-18T23·29+0100
committertazjin <mail@tazj.in>2020-07-19T00·49+0000
commit989537f972531ab321994e3691312617e343aee4 (patch)
treeacbddf04f5e7cfc70637de31aadc85a1e2d14409 /third_party/nix
parent70633a30583f8df01809e64696f6743810b13a93 (diff)
fix(3p/nix/libexpr): Make EvalState internals visible to GC r/1388
Change-Id: Ia7de49acb859040429fdd8ab143d485589ac02d4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1277
Reviewed-by: glittershark <grfn@gws.fyi>
Reviewed-by: isomer <isomer@tvl.fyi>
Reviewed-by: Kane York <rikingcoding@gmail.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/nix')
-rw-r--r--third_party/nix/src/libexpr/eval.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libexpr/eval.hh b/third_party/nix/src/libexpr/eval.hh
index 3e875fa81134..3a0ad8e1263f 100644
--- a/third_party/nix/src/libexpr/eval.hh
+++ b/third_party/nix/src/libexpr/eval.hh
@@ -65,7 +65,7 @@ typedef std::map<Path, Expr*, std::less<Path>,
                  traceable_allocator<std::pair<const Path, Expr*>>>
     FileParseCache;
 
-class EvalState {
+class EvalState : public gc {
  public:
   SymbolTable symbols;