guix-commits
[Top][All Lists]
Advanced

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

branch core-updates updated: build/gnu: Ensure the files are writable af


From: guix-commits
Subject: branch core-updates updated: build/gnu: Ensure the files are writable after the unpack phase.
Date: Thu, 04 Feb 2021 07:40:15 -0500

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new 6129ebd  build/gnu: Ensure the files are writable after the unpack 
phase.
6129ebd is described below

commit 6129ebddbdd306ab60bb657d627db87686d76aa0
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Feb 4 00:14:32 2021 -0500

    build/gnu: Ensure the files are writable after the unpack phase.
    
    Fixes <https://issues.guix.gnu.org/43015>.
    
    * guix/build/gnu-build-system.scm (unpack): Call 'make-file-writable' on 
every
    source file.
---
 guix/build/gnu-build-system.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm
index 66edd2d..fca77f4 100644
--- a/guix/build/gnu-build-system.scm
+++ b/guix/build/gnu-build-system.scm
@@ -170,7 +170,8 @@ working directory."
             (when command
               (invoke command "--decompress" name)))))
         ;; Attempt to change into child directory.
-        (and=> (first-subdirectory ".") chdir))))
+        (and=> (first-subdirectory ".") chdir)))
+  (for-each make-file-writable (find-files ".")))
 
 (define* (bootstrap #:key bootstrap-scripts
                     #:allow-other-keys)



reply via email to

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