apteryx pushed a commit to branch version-1.4.0
in repository guix.
commit 4bad8d7cdf3c8341876c5ab2cffd03c488da4ad3
Author: Sarah Morgensen <[email protected]>
AuthorDate: Sat Jul 24 23:12:04 2021 -0700
build-system/gnu: Make gzip files writable before resetting timestamps.
guix/build/gnu-build-system.scm (reset-gzip-timestamps): Ensure gzip
files are writable before resetting their timestamps.
Signed-off-by: Maxim Cournoyer <[email protected]>
---
guix/build/gnu-build-system.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm
index d0f7413268..d84411c090 100644
--- a/guix/build/gnu-build-system.scm
+++ b/guix/build/gnu-build-system.scm
@@ -598,6 +598,8 @@ and 'man/'. This phase moves directories to the right
place if needed."
(string-suffix? ".tgz" file))
(gzip-file? file)))
#:stat lstat)))
+ ;; Ensure the files are writable.
+ (for-each make-file-writable files)
(for-each reset-gzip-timestamp files)))
(match outputs