summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-09-08 18:48:11 +0200
committerLudovic Courtès <ludo@gnu.org>2023-09-08 19:12:15 +0200
commit4dd33fc62899134606f36f92594cf160b972f685 (patch)
tree12ee79974ca7904a8ee0da4dbc142fcfd755c787 /gnu
parentf4f92dd778574305608a02162026e3d5f575daf8 (diff)
gnu: shepherd: Switch back to Fibers 1.1 on Arm machines.
Fixes <https://issues.guix.gnu.org/64966>. * gnu/packages/admin.scm (shepherd-0.10)[native-inputs]: Use GUILE-FIBERS-1.1 when ‘target-arm?’ is true. Reported-by: Timotej Lazar <timotej.lazar@araneo.si> Reported-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Reported-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/admin.scm13
1 files 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
+ ;; <https://github.com/wingo/fibers/issues/89>. 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)