From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54135) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPY9b-0005hb-Gj for guix-patches@gnu.org; Fri, 17 Apr 2020 17:04:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPY9a-0002zK-EU for guix-patches@gnu.org; Fri, 17 Apr 2020 17:04:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58466) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jPY9a-0002z3-BN for guix-patches@gnu.org; Fri, 17 Apr 2020 17:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jPY9a-0000IN-6m for guix-patches@gnu.org; Fri, 17 Apr 2020 17:04:02 -0400 Subject: [bug#40684] [PATCH core-updates] guix: self: Use guile with libgc-7. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200417172142.23741-1-mail@cbaines.net> Date: Fri, 17 Apr 2020 23:02:47 +0200 In-Reply-To: <20200417172142.23741-1-mail@cbaines.net> (Christopher Baines's message of "Fri, 17 Apr 2020 18:21:43 +0100") Message-ID: <87mu79akqw.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Christopher Baines Cc: 40684@debbugs.gnu.org Hi! Christopher Baines skribis: > Rather than libgc version 8. This should avoid crashes that can occur, > particularly when loading data in to the Guix Data Service [1]. > > 1: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40525 > > * gnu/packages/guile.scm (guile-3.0/libgc-7): New variable. > * guix/self.scm (specification->package): Use guile-3.0/libgc-7 for guile. > --- > gnu/packages/guile.scm | 12 ++++++++++++ > guix/self.scm | 2 +- > 2 files changed, 13 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm > index 8ccbc22f26..6b7bd492ed 100644 > --- a/gnu/packages/guile.scm > +++ b/gnu/packages/guile.scm > @@ -309,6 +309,18 @@ without requiring the source code to be rewritten.") >=20=20 > (define-public guile-next guile-3.0) >=20=20 > +(define-public guile-3.0/libgc-7 > + (hidden-package > + (package > + (inherit guile-3.0) > + (propagated-inputs > + (map (lambda (input) > + (if (string=3D? (car input) > + "bdw-gc") > + (list "bdw-gc" libgc-7) > + input)) Nitpicking: please write it as: `(("bdw-gc" ,libgc-7) ,@(alist-delete "bdw-gc" (package-propagated-inputs guile-3.0))) as we do elsewhere. Also, could you add a comment referencing the bug report, so we immediately see why this variant exists? OK with these changes, thanks! Ludo=E2=80=99.