mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
Commit the cache at the end of the evaluation
Otherwise the db is never properly filled
This commit is contained in:
parent
af5c323e93
commit
69505c84e1
@ -444,6 +444,9 @@ EvalState::EvalState(const Strings & _searchPath, ref<Store> store)
|
||||
|
||||
EvalState::~EvalState()
|
||||
{
|
||||
for (auto [_, cache] : evalCache) {
|
||||
cache->commit();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user