1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-25 11:49:35 +01:00

Fix deadlock in LocalStore::addSignatures()

Fixes #4367.
This commit is contained in:
Eelco Dolstra 2021-01-05 11:47:29 +01:00
parent c51ee5c033
commit 8af4f886e2
2 changed files with 52 additions and 45 deletions

View file

@ -235,6 +235,8 @@ private:
void verifyPath(const Path & path, const StringSet & store,
PathSet & done, StorePathSet & validPaths, RepairFlag repair, bool & errors);
std::shared_ptr<const ValidPathInfo> queryPathInfoInternal(State & state, const StorePath & path);
void updatePathInfo(State & state, const ValidPathInfo & info);
void upgradeStore6();