diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-09-08 18:48:11 +0200 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-09-17 16:29:38 -0400 |
commit | 0c5fc92f813b7b86aebc1d24cf1dba1e99cc6538 (patch) | |
tree | 73039a86bc8ddb41cdaead79784688025cf13dd4 /gnu | |
parent | 24591a51333b7dd5db9dc27630c2f4bd330ec804 (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.scm | 13 |
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) |