From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: bug#36374: =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?pull=E2=80=99?= should not suggest running =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?pull=E2=80=99?= Date: Wed, 26 Jun 2019 16:19:26 +0200 Message-ID: References: <87a7e5n4fg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----JAKAIU8MLHDUBLJF0W7GBI1UMNVN60" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53517) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hg8mP-0003WB-4Z for bug-guix@gnu.org; Wed, 26 Jun 2019 10:20:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hg8mJ-00088q-0I for bug-guix@gnu.org; Wed, 26 Jun 2019 10:20:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51330) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hg8mI-00088U-Sh for bug-guix@gnu.org; Wed, 26 Jun 2019 10:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hg8mI-0004Ys-Lt for bug-guix@gnu.org; Wed, 26 Jun 2019 10:20:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:53350) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hg8lx-0003Qo-Bh for bug-guix@gnu.org; Wed, 26 Jun 2019 10:19:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hg8lw-0007gv-2k for bug-guix@gnu.org; Wed, 26 Jun 2019 10:19:41 -0400 In-Reply-To: <87a7e5n4fg.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 36374@debbugs.gnu.org, ludo@gnu.org ------JAKAIU8MLHDUBLJF0W7GBI1UMNVN60 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le 25 juin 2019 16:08:19 GMT+02:00, "Ludovic Court=C3=A8s" = a =C3=A9crit : >The article at > has a >screenshot showing =E2=80=98guix pull=E2=80=99 suggesting to run =E2=80= =98guix pull && guix >package -u=E2=80=99=2E This is obviously wrong=2E > >Ludo=E2=80=99=2E Here is a patch to address this issue on Guix System=2E It creates new fil= es in /etc/skel: an initial profile (=2Econfig/guix/initial) tgat only cont= ains a symlink to /run/current-system/profile/bin/guix and the current prof= ile as a symlink to the initial profile=2E At first boot, and for new users, guix well be found in the current profil= e, and stays there after guix pull, so we don't need to use hash guix anymo= re=2E ------JAKAIU8MLHDUBLJF0W7GBI1UMNVN60 Content-Type: application/octet-stream; name="0001-gnu-system-Symlink-guix-inside-an-initial-guix-pull-.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-gnu-system-Symlink-guix-inside-an-initial-guix-pull-.patch"; size=1536 RnJvbSA4OWI1ZmE3N2FmODdlMWExNTM3YzEwZTkyOTQzOWE5MDI4MDZjYzVjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKdWxpZW4gTGVwaWxsZXIgPGp1bGllbkBsZXBpbGxlci5ldT4K RGF0ZTogV2VkLCAyNiBKdW4gMjAxOSAxNDoyNDo1NSArMDIwMApTdWJqZWN0OiBbUEFUQ0hdIGdu dTogc3lzdGVtOiBTeW1saW5rIGd1aXggaW5zaWRlIGFuIGluaXRpYWwgZ3VpeCBwdWxsCiBwcm9m aWxlLgoKVGhpcyBwYXRjaCBhZGRzIGFuIGluaXRpYWwgZ3VpeCBwdWxsIHByb2ZpbGUgdG8gdGhl IHNrZWxldG9uc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lIHRvIGEgZGVmYXVsdCBzeXN0ZW0g cHJvZmlsZS4KKyAgICAgICAgICAgICAgICAgICAgICAgKG1rZGlyLXAgKHN0cmluZy1hcHBlbmQg IyRvdXRwdXQgIi8uY29uZmlnL2d1aXgvaW5pdGlhbC9iaW4iKSkKKyAgICAgICAgICAgICAgICAg ICAgICAgKHN5bWxpbmsgIi9ydW4vY3VycmVudC1zeXN0ZW0vcHJvZmlsZS9iaW4vZ3VpeCIKKyAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIi5jb25maWcvZ3VpeC9pbml0aWFsL2Jpbi9n dWl4IikKKyAgICAgICAgICAgICAgICAgICAgICAgKHN5bWxpbmsgImluaXRpYWwiICIuY29uZmln L2d1aXgvY3VycmVudCIpCiAgICAgICAgICAgICAgICAgICAgICAgICN0KSkpKQogCiAoZGVmaW5l IChhc3NlcnQtdmFsaWQtdXNlcnMvZ3JvdXBzIHVzZXJzIGdyb3VwcykKLS0gCjIuMjEuMAoK ------JAKAIU8MLHDUBLJF0W7GBI1UMNVN60--