diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-09-22 12:15:04 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-09-22 12:15:04 +0000 |
commit | 13172427806ad41fb3896c2e3ced1cf9672bb081 (patch) | |
tree | 578c47cfde2d718764c576dd1e0973946f8f13ba /src/libstore | |
parent | 995d08208eb52dfa42451733c4b20add2730de9f (diff) | |
download | guix-13172427806ad41fb3896c2e3ced1cf9672bb081.tar.gz |
* Make store objects created by substitutes read-only.
Diffstat (limited to 'src/libstore')
-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 62ffb981c9..ebdf7fdca2 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); |