about summary refs log tree commit diff
path: root/third_party/nix/src/nix-env/nix-env.cc
diff options
context:
space:
mode:
authorKane York <kanepyork@gmail.com>2020-07-19T01·52-0700
committerkanepyork <rikingcoding@gmail.com>2020-07-19T06·40+0000
commitf1080c022a5f93cc8dda25fd31f23665739687bb (patch)
treee1e4fe5ed1c804df3e9c3e6275229d1452f5363f /third_party/nix/src/nix-env/nix-env.cc
parent105ad71015465104db98a7e6077a4cc48bd8e5f0 (diff)
fix(3p/nix): convert all holders of EvalState into gc r/1393
Change-Id: Ia0d1fdd5c73941d02da0ca7152600f966cee5ccb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1280
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'third_party/nix/src/nix-env/nix-env.cc')
-rw-r--r--third_party/nix/src/nix-env/nix-env.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/nix-env/nix-env.cc b/third_party/nix/src/nix-env/nix-env.cc
index 07bcb54eb6f2..820b8cbcaf02 100644
--- a/third_party/nix/src/nix-env/nix-env.cc
+++ b/third_party/nix/src/nix-env/nix-env.cc
@@ -48,7 +48,7 @@ struct InstallSourceInfo {
   Bindings* autoArgs;
 };
 
-struct Globals {
+struct Globals : public gc {
   InstallSourceInfo instSource;
   Path profile;
   std::shared_ptr<EvalState> state;