Subject: bug#36374: ‘guix pull’ should not suggest running ‘guix pull’

From: Julien Lepiller <[email-masked]>
Date: Wed, 26 Jun 2019 16:19:26 +0200

Le 25 juin 2019 16:08:19 GMT+02:00, "Ludovic Courtès" <[email-masked]> a écrit :
>The article at
><https://distrowatch.com/weekly.php?issue=20190624#guixsd> has a
>screenshot showing ‘guix pull’ suggesting to run ‘guix pull && guix
>package -u’.  This is obviously wrong.
>
>Ludo’.

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.