From bb234b5f32a4c4b3d5ce6062487ea561d441da18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Wed, 21 Jan 2026 16:29:28 +0900 Subject: [PATCH] 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 --- 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 446d867d348..c562439fb9b 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."