mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-22 02:29:24 -05:00
gnu: lofreq: Set file timestamps to 1980s.
This keeps Python from complaining: "ZIP does not support timestamps before 1980". * gnu/packages/bioinformatics.scm (lofreq)[arguments]: Add build phase 'set-source-file-times-to-1980.
This commit is contained in:
parent
0ad4a4d155
commit
3a37e3ecd8
1 changed files with 11 additions and 1 deletions
|
@ -17761,7 +17761,17 @@ (define-public lofreq
|
|||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:test-target "bug-tests"
|
||||
#:tests? #false)) ; test data are not included
|
||||
#:tests? #false ;test data are not included
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-source-file-times-to-1980
|
||||
(lambda _
|
||||
(let ((circa-1980 (* 10 366 24 60 60)))
|
||||
(for-each (lambda (file)
|
||||
(let ((s (lstat file)))
|
||||
(unless (eq? (stat:type s) 'symlink)
|
||||
(utime file circa-1980 circa-1980))))
|
||||
(find-files "." #:directories? #t))))))))
|
||||
(inputs
|
||||
(list htslib python-wrapper zlib))
|
||||
(native-inputs
|
||||
|
|
Loading…
Reference in a new issue