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:
parent
105ad71015
commit
f1080c022a
2 changed files with 2 additions and 2 deletions
2
third_party/nix/src/libexpr/get-drvs.hh
vendored
2
third_party/nix/src/libexpr/get-drvs.hh
vendored
|
@ -7,7 +7,7 @@
|
|||
|
||||
namespace nix {
|
||||
|
||||
struct DrvInfo {
|
||||
struct DrvInfo : public gc {
|
||||
public:
|
||||
typedef std::map<std::string, Path> Outputs;
|
||||
|
||||
|
|
2
third_party/nix/src/nix-env/nix-env.cc
vendored
2
third_party/nix/src/nix-env/nix-env.cc
vendored
|
@ -48,7 +48,7 @@ struct InstallSourceInfo {
|
|||
Bindings* autoArgs;
|
||||
};
|
||||
|
||||
struct Globals {
|
||||
struct Globals : public gc {
|
||||
InstallSourceInfo instSource;
|
||||
Path profile;
|
||||
std::shared_ptr<EvalState> state;
|
||||
|
|
Loading…
Reference in a new issue