mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
* Fix deadlock.
This commit is contained in:
parent
c60a4943ba
commit
8a3eef22e3
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ void setReferences(const Transaction & txn, const Path & storePath,
|
|||
% storePath);
|
||||
|
||||
Paths oldReferences;
|
||||
nixDB.queryStrings(noTxn, dbReferences, storePath, oldReferences);
|
||||
nixDB.queryStrings(txn, dbReferences, storePath, oldReferences);
|
||||
|
||||
nixDB.setStrings(txn, dbReferences, storePath,
|
||||
Paths(references.begin(), references.end()));
|
||||
|
|
Loading…
Reference in a new issue