mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
* Make store objects created by substitutes read-only.
This commit is contained in:
parent
995d08208e
commit
1317242780
1 changed files with 2 additions and 0 deletions
|
@ -1601,6 +1601,8 @@ void SubstitutionGoal::finished()
|
|||
return;
|
||||
}
|
||||
|
||||
makePathReadOnly(storePath);
|
||||
|
||||
Transaction txn;
|
||||
createStoreTransaction(txn);
|
||||
registerValidPath(txn, storePath);
|
||||
|
|
Loading…
Reference in a new issue