1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

* Make store objects created by substitutes read-only.

This commit is contained in:
Eelco Dolstra 2004-09-22 12:15:04 +00:00
parent 995d08208e
commit 1317242780

View file

@ -1601,6 +1601,8 @@ void SubstitutionGoal::finished()
return; return;
} }
makePathReadOnly(storePath);
Transaction txn; Transaction txn;
createStoreTransaction(txn); createStoreTransaction(txn);
registerValidPath(txn, storePath); registerValidPath(txn, storePath);