mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 20:27:36 -05:00
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>
This commit is contained in:
parent
c61e742854
commit
0f71f55a60
1 changed files with 2 additions and 0 deletions
|
@ -598,6 +598,8 @@ (define (process-directory directory)
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue