diff options
author | Kane York <kanepyork@gmail.com> | 2020-07-19T01·52-0700 |
---|---|---|
committer | kanepyork <rikingcoding@gmail.com> | 2020-07-19T06·40+0000 |
commit | f1080c022a5f93cc8dda25fd31f23665739687bb (patch) | |
tree | e1e4fe5ed1c804df3e9c3e6275229d1452f5363f /third_party | |
parent | 105ad71015465104db98a7e6077a4cc48bd8e5f0 (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 '')
-rw-r--r-- | third_party/nix/src/libexpr/get-drvs.hh | 2 | ||||
-rw-r--r-- | third_party/nix/src/nix-env/nix-env.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/libexpr/get-drvs.hh b/third_party/nix/src/libexpr/get-drvs.hh index bb20c32c0b44..30645123ea0d 100644 --- a/third_party/nix/src/libexpr/get-drvs.hh +++ b/third_party/nix/src/libexpr/get-drvs.hh @@ -7,7 +7,7 @@ namespace nix { -struct DrvInfo { +struct DrvInfo : public gc { public: typedef std::map<std::string, Path> Outputs; 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; |