fix(3p/nix): convert all holders of EvalState into gc

Change-Id: Ia0d1fdd5c73941d02da0ca7152600f966cee5ccb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1280
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
Kane York 2020-07-18 18:52:51 -07:00 committed by kanepyork
parent 105ad71015
commit f1080c022a
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@
namespace nix { namespace nix {
struct DrvInfo { struct DrvInfo : public gc {
public: public:
typedef std::map<std::string, Path> Outputs; typedef std::map<std::string, Path> Outputs;

View file

@ -48,7 +48,7 @@ struct InstallSourceInfo {
Bindings* autoArgs; Bindings* autoArgs;
}; };
struct Globals { struct Globals : public gc {
InstallSourceInfo instSource; InstallSourceInfo instSource;
Path profile; Path profile;
std::shared_ptr<EvalState> state; std::shared_ptr<EvalState> state;