From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#25775: Can't install packages after guix pull Date: Thu, 23 Feb 2017 22:36:54 +0100 Message-ID: <8737f4si6h.fsf@elephly.net> References: <87poiczw13.fsf@elephly.net> <20170223192815.GA17141@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ch15S-0005lJ-R4 for bug-guix@gnu.org; Thu, 23 Feb 2017 16:38:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ch15O-0002KE-QB for bug-guix@gnu.org; Thu, 23 Feb 2017 16:38:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:55104) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ch15O-0002K4-Mr for bug-guix@gnu.org; Thu, 23 Feb 2017 16:38:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ch15O-0005b8-CJ for bug-guix@gnu.org; Thu, 23 Feb 2017 16:38:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <20170223192815.GA17141@jasmine> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: sirgazil , 25775@debbugs.gnu.org Leo Famulari 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 ." >> ;; 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