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: Mon, 08 Jan 2018 16:37:54 +0100 Message-ID: <877esse4z1.fsf@gnu.org> References: <87ineaewkt.fsf@gmail.com> <87o9o2cikz.fsf@gnu.org> <87mv3fvuj7.fsf@gmail.com> <87zi6t1zci.fsf@gmail.com> <87lghae7kd.fsf@gnu.org> 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]:39410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYZUv-0007He-E2 for help-guix@gnu.org; Mon, 08 Jan 2018 10:38:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYZUr-0003Ew-GO for help-guix@gnu.org; Mon, 08 Jan 2018 10:38:01 -0500 In-Reply-To: <87lghae7kd.fsf@gnu.org> (Mike Gerwitz's message of "Sat, 06 Jan 2018 21:17:22 -0500") 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: Mike Gerwitz Cc: help-guix@gnu.org Mike Gerwitz skribis: > On Thu, Dec 07, 2017 at 22:57:17 -0800, Chris Marusich wrote: >> Chris Marusich writes: >> >>> ludo@gnu.org (Ludovic Court=C3=A8s) writes: >>> >>>> 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 c= ase >>>>> 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! :-) >>> >>> I see! Nice to know my suspicions were correct. >> >> Ludo, did you fix this recently? Anecdotally, I noticed that the >> problem no longer occurs using a recent version of Guix. > > I still seem to have this issue. > > My workaround is to just manually symlink ~/.config/guix/latest to the > same derivation as root's. Since Ludo said this behavior seems to be a > bug, can I assume that it is safe to do so? Yes, it=E2=80=99s a safe workaround. I do hope to finish and merge =E2=80=98wip-pull-reload=E2=80=99 ASAP, which= fixes this among other things=E2=80=A6 Ludo=E2=80=99.