guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit c403d8bc4ae2ed49c251be2a9c51111fcd684db9
Author: Nguyễn Gia Phong <[email protected]>
AuthorDate: Wed Jan 21 16:29:28 2026 +0900

    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 <[email protected]>
---
 guix/build/pyproject-build-system.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/build/pyproject-build-system.scm 
b/guix/build/pyproject-build-system.scm
index 446d867d34..c562439fb9 100644
--- a/guix/build/pyproject-build-system.scm
+++ b/guix/build/pyproject-build-system.scm
@@ -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."

Reply via email to