mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05: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);
|
||||
|
||||
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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue