mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-18 16:20:28 +02:00
gnu: shepherd-1.0: Use older guile-fibers on some systems.
Fixes guix/guix#3681. * gnu/packages/admin.scm (shepherd-1.0)[native-inputs]: When building for arm or riscv64 systems use guile-fibers-1.1. [inputs]: Use the same guile-fibers as in native-inputs. Change-Id: Iba10065aeb5c731e33f5d4d9093ac7ee21372205
This commit is contained in:
@@ -603,10 +603,19 @@ interface and is based on GNU Guile.")
|
||||
"/bin/zstd")))))
|
||||
(native-inputs
|
||||
(modify-inputs (package-native-inputs shepherd-0.10)
|
||||
(replace "guile-fibers" guile-fibers))) ;use latest guile-fibers available
|
||||
(replace "guile-fibers"
|
||||
;; Work around <https://codeberg.org/guile/fibers/issues/89>.
|
||||
;; This affects any system without a functional real-time
|
||||
;; clock (RTC), but in practice these are typically
|
||||
;; single-board computers.
|
||||
(if (or (target-arm?)
|
||||
(target-riscv64?))
|
||||
guile-fibers-1.1
|
||||
guile-fibers)))) ;use latest guile-fibers available
|
||||
(inputs
|
||||
(modify-inputs (package-inputs shepherd-0.10)
|
||||
(replace "guile-fibers" guile-fibers) ;use latest guile-fibers available
|
||||
(replace "guile-fibers"
|
||||
(this-package-native-input "guile-fibers"))
|
||||
(append gzip zstd)))))
|
||||
|
||||
(define-public shepherd shepherd-0.10)
|
||||
|
||||
Reference in New Issue
Block a user