mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
daemon: Do not reset timestamps and permissions on substituted items.
'guix substitute' now takes care of it via 'restore-file'. * nix/libstore/build.cc (SubstitutionGoal::finished): Remove call to 'canonicalisePathMetaData'.
This commit is contained in:
parent
77a1efed9e
commit
15cf28fbb4
1 changed files with 2 additions and 1 deletions
|
@ -3085,7 +3085,8 @@ void SubstitutionGoal::finished()
|
||||||
|
|
||||||
if (repair) replaceValidPath(storePath, destPath);
|
if (repair) replaceValidPath(storePath, destPath);
|
||||||
|
|
||||||
canonicalisePathMetaData(storePath, -1);
|
/* Note: 'guix substitute' takes care of resetting timestamps and
|
||||||
|
permissions on 'destPath', so no need to do it here. */
|
||||||
|
|
||||||
worker.store.optimisePath(storePath); // FIXME: combine with hashPath()
|
worker.store.optimisePath(storePath); // FIXME: combine with hashPath()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue