GNU bug report logs -
#40684
[PATCH core-updates] guix: self: Use guile with libgc-7.
Previous Next
Reported by: Christopher Baines <mail <at> cbaines.net>
Date: Fri, 17 Apr 2020 17:23:01 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 40684 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:
> Hi!
>
> Christopher Baines <mail <at> cbaines.net> 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=40525
>>
>> * 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.")
>>
>> (define-public guile-next guile-3.0)
>>
>> +(define-public guile-3.0/libgc-7
>> + (hidden-package
>> + (package
>> + (inherit guile-3.0)
>> + (propagated-inputs
>> + (map (lambda (input)
>> + (if (string=? (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!
Sure, I've sent an updated patch now.
Thanks,
Chris
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 5 years and 31 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.