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
@ -598,6 +598,8 @@ and 'man/'. This phase moves directories to the right place if needed."
|
|||||||
(string-suffix? ".tgz" file))
|
(string-suffix? ".tgz" file))
|
||||||
(gzip-file? file)))
|
(gzip-file? file)))
|
||||||
#:stat lstat)))
|
#:stat lstat)))
|
||||||
|
;; Ensure the files are writable.
|
||||||
|
(for-each make-file-writable files)
|
||||||
(for-each reset-gzip-timestamp files)))
|
(for-each reset-gzip-timestamp files)))
|
||||||
|
|
||||||
(match outputs
|
(match outputs
|
||||||
|
Loading…
Reference in New Issue
Block a user