From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: "guix-latest" differs when two users run "guix pull" from same commit Date: Thu, 16 Nov 2017 17:08:12 +0100 Message-ID: <87o9o2cikz.fsf@gnu.org> References: <87ineaewkt.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]:49782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFMiC-0007lP-CS for help-guix@gnu.org; Thu, 16 Nov 2017 11:08:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFMi6-0000X3-PE for help-guix@gnu.org; Thu, 16 Nov 2017 11:08:20 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:60331) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eFMi6-0000VL-HE for help-guix@gnu.org; Thu, 16 Nov 2017 11:08:14 -0500 In-Reply-To: <87ineaewkt.fsf@gmail.com> (Chris Marusich's message of "Wed, 15 Nov 2017 14:58:07 -0800") 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: Chris Marusich Cc: help-guix@gnu.org Chris Marusich skribis: > When two users run "guix pull" using the same commit, two different > versions of "guix-latest" get built. This surprised me, and in any case > it seems inefficient to build the same version of Guix two times. Why > do two different derivations get built? That=E2=80=99s a bug! :-) > Here's an invocation of "guix pull" as an unprivileged user: > > $ guix pull > ... > Building from Git commit ed0f9f53abef57b9f33d3b2eada40375894bdff6... > ... > The following derivation will be built: > /gnu/store/m3x8069x5aspc29m9ay7idndz0kpfxlb-guix-latest.drv > copying and compiling to '/gnu/store/dn13gs9w16h5w6l77pnpbclqxnbyhh4m-gui= x-latest' with Guile 2.2.2... > > > And here's an invocation of "guix pull" as root: > > # guix pull > ... > Building from Git commit ed0f9f53abef57b9f33d3b2eada40375894bdff6... > ... > The following derivation will be built: > /gnu/store/675pz9f4qz9dd4jikzcgzv62kjrxfhmg-guix-latest.drv > copying and compiling to '/gnu/store/cvc0rf65s3mjw9rjps80ram3898qdws3-gui= x-latest' with Guile 2.2.2... Can you compare the two =E2=80=98guix-latest=E2=80=99 outputs with =E2=80= =98diff -r=E2=80=99? I=E2=80=99m guessing the difference stems from (guix config). Thanks, Ludo=E2=80=99.