mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
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.
This commit is contained in:
parent
337a94e534
commit
6129ebddbd
1 changed files with 2 additions and 1 deletions
|
@ -170,7 +170,8 @@ (define* (unpack #:key source #:allow-other-keys)
|
||||||
(when command
|
(when command
|
||||||
(invoke command "--decompress" name)))))
|
(invoke command "--decompress" name)))))
|
||||||
;; Attempt to change into child directory.
|
;; 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
|
(define* (bootstrap #:key bootstrap-scripts
|
||||||
#:allow-other-keys)
|
#:allow-other-keys)
|
||||||
|
|
Loading…
Reference in a new issue