From 072fd1124a8081753ce92ed3a2a57489d24c5e4a Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 6 Nov 2022 12:34:39 +0100 Subject: gnu: shepherd@0.9: Use 'guile-3.0-latest' to address memory leak. Fixes . 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'. --- gnu/packages/admin.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gnu/packages/admin.scm') diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 5576c3da77..273dffbc18 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -368,9 +368,12 @@ interface and is based on GNU Guile.") (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 . + (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 -- cgit v1.2.3