summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2026-01-21 16:29:28 +0900
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:18 +0100
commit0c59ec6aa968e7793a46009da4cf6fc33f2fd153 (patch)
tree80832c9945655d1ea7fe0de2e2ceaf400861ae61
parenteae22f6f6e4e8e5ac2774ac90cc369bc9b1f338b (diff)
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>
-rw-r--r--guix/build/pyproject-build-system.scm3
1 files changed, 2 insertions, 1 deletions
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."