From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Guix upgrade leads to different hashes Date: Sat, 07 Oct 2017 00:24:10 +0200 Message-ID: <87h8vbkj91.fsf@gnu.org> References: <87o9pqz457.fsf@gmail.com> <87tvzhcpi3.fsf@gmail.com> <87wp4c7eo5.fsf@gmail.com> <87k20catud.fsf@gnu.org> <874lrf52k5.fsf@gmail.com> <87efqj9v0b.fsf@gnu.org> <87d162tpy9.fsf@gmail.com> <87d1617ndp.fsf@gnu.org> <87lgkojkrl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0b2T-0005Zs-Qn for help-guix@gnu.org; Fri, 06 Oct 2017 18:24:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0b2S-0004Yj-SU for help-guix@gnu.org; Fri, 06 Oct 2017 18:24:13 -0400 In-Reply-To: <87lgkojkrl.fsf@gmail.com> (Oleg Pykhalov's message of "Fri, 06 Oct 2017 19:36:46 +0300") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Oleg Pykhalov Cc: Alex Kost , help-guix@gnu.org Oleg Pykhalov skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > > [...] > >> Could you check if this patch helps: >> >> diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm >> index 4adc70522..0e365018a 100644 >> --- a/guix/scripts/package.scm >> +++ b/guix/scripts/package.scm >> @@ -604,12 +604,12 @@ and upgrades." >> (options->upgrade-predicate opts)) >>=20=20 >> (define upgraded >> - (fold (lambda (entry transaction) >> - (if (upgrade? (manifest-entry-name entry)) >> - (transaction-upgrade-entry entry transaction) >> - transaction)) >> - transaction >> - (manifest-entries manifest))) >> + (fold-right (lambda (entry transaction) >> + (if (upgrade? (manifest-entry-name entry)) >> + (transaction-upgrade-entry entry transaction) >> + transaction)) >> + transaction >> + (manifest-entries manifest))) >>=20=20 >> (define to-install >> (filter-map (match-lambda > > Nope, this didn't help :-( So what=E2=80=99s the diff between two consecutive manifests now? TIA, Ludo=E2=80=99.