gnu: shepherd@0.9: Use 'guile-3.0-latest' to address memory leak.

Fixes <https://issues.guix.gnu.org/58631>.

Previously, shepherd's heap would grow roughly linearly in the number of
context switches (delimited continuations being captured).  For example,
if shepherd spawned services that logged a lot of data, it would
context-switch a lot, leading to relatively quick heap growth.

* gnu/packages/admin.scm (shepherd-0.9)[inputs, native-inputs]: Replace
'guile-3.0' with 'guile-3.0-latest'.
This commit is contained in:
Ludovic Courtès 2022-11-06 12:34:39 +01:00
parent 7138ba34fa
commit 072fd1124a
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -368,9 +368,12 @@ (define-public shepherd-0.9
(this-package-input "guile-fibers")
"/lib/guile/3.0/site-ccache"))))))
#~%standard-phases)))
(native-inputs (list pkg-config guile-3.0
;; Note: Use 'guile-3.0-latest' to address the continuation-related memory
;; leak reported at <https://issues.guix.gnu.org/58631>.
(native-inputs (list pkg-config guile-3.0-latest
guile-fibers-1.1)) ;for cross-compilation
(inputs (list guile-3.0 guile-fibers-1.1))))
(inputs (list guile-3.0-latest guile-fibers-1.1))))
(define-public guile2.2-shepherd
(package