mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
build-system/pyproject: ensure-no-mtimes-pre-1980: Fix ftw use.
In (ftw startname proc), proc should return #t to continue, or any other value to stop. * guix/build/pyproject-build-system.scm (ensure-no-mtimes-pre-1980): Mirror the implementation in guix/build/pyproject-build-system.scm. References: https://www.gnu.org/software/guile/manual/html_node/File-Tree-Walk.html#index-ftw Change-Id: Ifb5d4ab35dfac0c164ea1ac7cf2a1fdf043d1d22 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
2ef3da0266
commit
c3ed22e115
1 changed files with 2 additions and 1 deletions
|
|
@ -130,7 +130,8 @@ running checks after installing the package."
|
|||
(ftw "." (lambda (file stat flag)
|
||||
(unless (or (<= early-1980 (stat:mtime stat))
|
||||
(eq? (stat:type stat) 'symlink))
|
||||
(utime file early-1980 early-1980))))))
|
||||
(utime file early-1980 early-1980))
|
||||
#t))))
|
||||
|
||||
(define* (enable-bytecode-determinism #:rest _)
|
||||
"Improve determinism of pyc files."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue