mirror of
https://github.com/NixOS/nix.git
synced 2025-11-20 01:09:37 +01:00
Make the root symbol more telling in the DB
I spent a few minutes trying to understand why I had a field with an empty symbol, until I realise that it’s because that was the symbol for the root element. Now that shouldn’t happen anymore
This commit is contained in:
parent
9053ac0693
commit
af5c323e93
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ Cache::Cache(const Hash & useCache,
|
||||||
SymbolTable & symbols)
|
SymbolTable & symbols)
|
||||||
: db(std::make_shared<AttrDb>(useCache))
|
: db(std::make_shared<AttrDb>(useCache))
|
||||||
, symbols(symbols)
|
, symbols(symbols)
|
||||||
, rootSymbol(symbols.create(""))
|
, rootSymbol(symbols.create("%root%"))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue