guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

92/145: build-system/gnu: Make gzip files writable before resetting time


From: guix-commits
Subject: 92/145: build-system/gnu: Make gzip files writable before resetting timestamps.
Date: Mon, 10 Jan 2022 11:44:14 -0500 (EST)

apteryx pushed a commit to branch version-1.4.0
in repository guix.

commit 4bad8d7cdf3c8341876c5ab2cffd03c488da4ad3
Author: Sarah Morgensen <iskarian@mgsn.dev>
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 <maxim.cournoyer@gmail.com>
---
 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]