GNU bug report logs - #25775
Can't install packages after guix pull

Previous Next

Package: guix;

Reported by: sirgazil <lizagris <at> protonmail.com>

Date: Fri, 17 Feb 2017 16:26:01 UTC

Severity: serious

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Leo Famulari <leo <at> famulari.name>
Cc: sirgazil <lizagris <at> protonmail.com>, 25775 <at> debbugs.gnu.org
Subject: bug#25775: Can't install packages after guix pull
Date: Thu, 23 Feb 2017 22:36:54 +0100
Leo Famulari <leo <at> famulari.name> writes:

> On Mon, Feb 20, 2017 at 05:06:48PM +0100, Ricardo Wurmus wrote:
>> Since I lack an understanding of why the “guile” argument could ever
>> purposefully be set to “#f” I cannot come up with a nice fix.  Instead
>> of a nice fix I have found a really gross fix:
>>
>> --8<---------------cut here---------------start------------->8---
>> diff --git a/guix/download.scm b/guix/download.scm
>> index 813f51f48..86f859881 100644
>> --- a/guix/download.scm
>> +++ b/guix/download.scm
>> @@ -418,7 +418,10 @@ GnuTLS itself and its dependencies.  See <http://bugs.gnu.org/22774>."
>>                         ;; hash of the expected result.
>>                         #:verify-certificate? #f)))))
>>
>> -  (mlet %store-monad ((guile (package->derivation guile system)))
>> +  (mlet %store-monad ((guile (package->derivation
>> +                              (or guile
>> +                                  (@@ (gnu packages bootstrap) %bootstrap-guile))
>> +                              system)))
>>      (gexp->derivation file-name builder
>>                        #:guile-for-build guile
>>                        #:system system
>> --8<---------------cut here---------------end--------------->8---
>
> Based on discussion on #guix with Ricardo and Andy, I pushed this diff
> as 9f05908fb1e3707cae593d94688748294717a546 on Ricardo's behalf.

Thank you!

> I'm leaving the bug open until we find a better fix.

That’s fair.

For people who encounter this bug at a later point: please upgrade the
daemon; that’s better than trying to use the latest Guix with an
outdated daemon.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





This bug report was last modified 8 years and 104 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.