forked from lix-project/lix
* DrvInfo contains pointers to expressions, so DrvInfos should be
traced by the garbage collector. Otherwise "nix-env -u" can crash randomly.
This commit is contained in:
parent
4aced7f8d0
commit
812fae424e
|
@ -62,7 +62,11 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#if HAVE_BOEHMGC
|
||||||
|
typedef list<DrvInfo, traceable_allocator<DrvInfo> > DrvInfos;
|
||||||
|
#else
|
||||||
typedef list<DrvInfo> DrvInfos;
|
typedef list<DrvInfo> DrvInfos;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* If value `v' denotes a derivation, store information about the
|
/* If value `v' denotes a derivation, store information about the
|
||||||
|
|
Loading…
Reference in a new issue