mirror of
https://github.com/NixOS/nix
synced 2025-06-30 07:33:16 +02:00
Fix GC bug in ExprPath
This commit is contained in:
parent
9e05daaa9e
commit
9411299875
5 changed files with 19 additions and 14 deletions
|
@ -50,16 +50,16 @@ struct Env
|
|||
void copyContext(const Value & v, PathSet & context);
|
||||
|
||||
|
||||
// FIXME: maybe change this to an std::variant<SourcePath, URL>.
|
||||
typedef std::pair<std::string, std::string> SearchPathElem;
|
||||
typedef std::list<SearchPathElem> SearchPath;
|
||||
|
||||
|
||||
std::ostream & printValue(const EvalState & state, std::ostream & str, const Value & v);
|
||||
std::string printValue(const EvalState & state, const Value & v);
|
||||
std::ostream & operator << (std::ostream & os, const ValueType t);
|
||||
|
||||
|
||||
// FIXME: maybe change this to an std::variant<SourcePath, URL>.
|
||||
typedef std::pair<std::string, std::string> SearchPathElem;
|
||||
typedef std::list<SearchPathElem> SearchPath;
|
||||
|
||||
|
||||
/* Initialise the Boehm GC, if applicable. */
|
||||
void initGC();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue