From 4dd33fc62899134606f36f92594cf160b972f685 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 8 Sep 2023 18:48:11 +0200 Subject: gnu: shepherd: Switch back to Fibers 1.1 on Arm machines. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes . * gnu/packages/admin.scm (shepherd-0.10)[native-inputs]: Use GUILE-FIBERS-1.1 when ‘target-arm?’ is true. Reported-by: Timotej Lazar Reported-by: Liliana Marie Prikler Reported-by: Denis 'GNUtoo' Carikli --- gnu/packages/admin.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 604cd70c02..5d586e6f36 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -385,9 +385,18 @@ interface and is based on GNU Guile.") (base32 "0v9ld9gbqdp5ya380fbkdsxa0iqr90gi6yk004ccz3n792nq6wlj")))) (native-inputs (modify-inputs (package-native-inputs shepherd-0.9) - (replace "guile-fibers" guile-fibers-1.3))) + (replace "guile-fibers" + ;; Work around + ;; . This + ;; affects any system without a functional real-time + ;; clock (RTC), but in practice these are typically Arm + ;; single-board computers. + (if (target-arm?) + guile-fibers-1.1 + guile-fibers-1.3)))) (inputs (modify-inputs (package-inputs shepherd-0.9) - (replace "guile-fibers" guile-fibers-1.3))))) + (replace "guile-fibers" + (this-package-native-input "guile-fibers")))))) (define-public shepherd shepherd-0.9) -- cgit v1.2.3