GNU bug report logs

#36374 ‘guix pull’ should not suggest running ‘guix pull’

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #11 received at 36374@debbugs.gnu.org (full text, mbox, reply):

Received: (at 36374) by debbugs.gnu.org; 27 Jun 2019 09:55:50 +0000
From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 27 05:55:50 2019
Received: from localhost ([127.0.0.1]:37447 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1hgR8A-0005UA-F4
	for submit@debbugs.gnu.org; Thu, 27 Jun 2019 05:55:50 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36362)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@gnu.org>) id 1hgR88-0005Ty-Ux
 for 36374@debbugs.gnu.org; Thu, 27 Jun 2019 05:55:49 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:46879)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@gnu.org>)
 id 1hgR82-0005tA-8B; Thu, 27 Jun 2019 05:55:42 -0400
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=45086 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@gnu.org>)
 id 1hgR7z-0004Hg-BE; Thu, 27 Jun 2019 05:55:41 -0400
From: Ludovic Courtès <ludo@gnu.org>
To: Julien Lepiller <julien@lepiller.eu>
Subject: Re: bug#36374: ‘guix pull’ should not suggest
 running ‘guix pull’
References: <87a7e5n4fg.fsf@gnu.org>
 <E398A193-BBCE-4EDE-9671-B4A0AAD2998E@lepiller.eu>
Date: Thu, 27 Jun 2019 11:55:36 +0200
In-Reply-To: <E398A193-BBCE-4EDE-9671-B4A0AAD2998E@lepiller.eu> (Julien
 Lepiller's message of "Wed, 26 Jun 2019 16:19:26 +0200")
Message-ID: <87lfxn2vzb.fsf@gnu.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 36374
Cc: 36374@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
Hello!

Julien Lepiller <julien@lepiller.eu> skribis:

> Here is a patch to address this issue on Guix System. It creates new
> files in /etc/skel: an initial profile (.config/guix/initial) tgat
> only contains a symlink to /run/current-system/profile/bin/guix and
> the current profile as a symlink to the initial profile.
>
> At first boot, and for new users, guix well be found in the current
> profile, and stays there after guix pull, so we don't need to use hash
> guix anymore.

I think this addresses the “hash guix” issue (this will no longer be
needed with this patch), but it only indirectly solves the “guix pull”
suggestion issue, right?

> From 89b5fa77af87e1a1537c10e929439a902806cc5c Mon Sep 17 00:00:00 2001
> From: Julien Lepiller <julien@lepiller.eu>
> Date: Wed, 26 Jun 2019 14:24:55 +0200
> Subject: [PATCH] gnu: system: Symlink guix inside an initial guix pull
>  profile.
>
> This patch adds an initial guix pull profile to the skeletons files used
> on Guix System.  This ensures that users don't have to type 'hash guix'
> after their first guix pull, and prevents 'guix pull' from suggesting to
> run 'guix pull' after it finished successfuly.

It prevents the suggestion, but only because the symlink appears to be
new.  If you change the mtime of the symlink, or if you run:

  GUIX_DISTRO_AGE_WARNING=1s guix pull

I think you still get the “guix pull” recommendation.

> * gnu/system/shadow.scm (skeleton-directory): Symlink guix inside an
> initial guix pull profile.

Perhaps we should add it to ‘default-skeletons’ instead of
special-casing it here?  WDYT?

Thanks for working on it!

Ludo’.




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Sep 7 12:07:12 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.