diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-09-22T12·15+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-09-22T12·15+0000 |
commit | 13172427806ad41fb3896c2e3ced1cf9672bb081 (patch) | |
tree | 578c47cfde2d718764c576dd1e0973946f8f13ba | |
parent | 995d08208eb52dfa42451733c4b20add2730de9f (diff) |
* Make store objects created by substitutes read-only.
-rw-r--r-- | src/libstore/normalise.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/normalise.cc b/src/libstore/normalise.cc index 62ffb981c9d9..ebdf7fdca224 100644 --- a/src/libstore/normalise.cc +++ b/src/libstore/normalise.cc @@ -1601,6 +1601,8 @@ void SubstitutionGoal::finished() return; } + makePathReadOnly(storePath); + Transaction txn; createStoreTransaction(txn); registerValidPath(txn, storePath); |