From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QEu8Fxs/DWUHrAAAauVa8A:P1 (envelope-from ) for ; Fri, 22 Sep 2023 09:15:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QEu8Fxs/DWUHrAAAauVa8A (envelope-from ) for ; Fri, 22 Sep 2023 09:15:39 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A10145C396 for ; Fri, 22 Sep 2023 09:15:38 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=eauchat.org header.s=mail header.b=O9Czgv7e; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=eauchat.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695366939; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2jmm7pjVEYAwhEzA81o66fPWzn2yDf682+qVoZugiOE=; b=Rji1NMbnxhBZ4dst5AB8ZQBKts5WZg3kUxhVuWXKvCBukEhNY4YqZulgGqEJ0E5Y0/s/L1 LXDbh9LI+f1p8bnUE11blsRLaHYj71AF/f9VbpzKlgyAAgYmUjyjLDWDAqbRlXnUfUs5kl ZXRua6IHnsf6lirc/J7+maTzvEIcdArV0ANLtzgNuMeYD7x9Qqn9JOHfMFD6w5pNxrj7KW aVPlWQ1w98Zui1y4RvxxWJ58sxQRl9LWjJqerewZ5DOLWS+HkCss1VS+Abb892d0kGsn+t l4Upu3G3XJDE6PygKCKEhdqrHg/R2hemof+HNz/YeixiijpfgavJxHKKLJi0Ug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695366939; a=rsa-sha256; cv=none; b=L6WCmUvE7fYynUX9M3n2FbBlXmBO1niU5gTGWWxFqi9n7GmZdpR8c/14C0OVskCEUJJxjN 5h6YlhxjMewHCN0FBxLpywXZbPtv8GEXe0gTFYQgxyv6e0eQoyuVOt7AVqhxygNx/+GoAD GlmtG5UC47Rpuss7Pqk0NWOAN0UKRr1fVluJ6xquaL8/mqVjoztTu9t2KBX4fAKblVzi+1 tEI2pdE/QleYNpGCumQMcE/QWSEVrMAK80PSnFeq+U/m4vAMyMfHIF31H3tStMlzZMnZqC a2DozUMXlsSWvZQI04bUAHgpxeQnHqmpWO0ZegBiA8HOl3z8C1SzI9jdldfKjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=eauchat.org header.s=mail header.b=O9Czgv7e; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=eauchat.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjaNb-0006OJ-Ue; Fri, 22 Sep 2023 03:15:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjaNa-0006O9-Hx for help-guix@gnu.org; Fri, 22 Sep 2023 03:15:10 -0400 Received: from elegua.eauchat.org ([91.224.149.118] helo=eauchat.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjaNY-00013L-Ih for help-guix@gnu.org; Fri, 22 Sep 2023 03:15:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1695366902; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2jmm7pjVEYAwhEzA81o66fPWzn2yDf682+qVoZugiOE=; b=O9Czgv7ehZHl+J3Elw7NATvH34nPm4vk90dgePQOyqUjuPlbHDR2UMttFTeSYbi5LJ9oWi KyuniBVbzxY/h/JNyzwTfoT5pCrzQ4ZmFJkx2OnY1IhNfYvAtS+qQwGNJ5gN7q5eM51MMN 9v6oEe1sQo9IRw24nov/dJ5jTK+BjDU= References: <87leehacga.fsf@eauchat.org> <86v8cou2jn.fsf@gmail.com> <87lediwbm5.fsf@eauchat.org> <87o7hzsw4t.fsf@gmail.com> <87pm2c1wos.fsf@eauchat.org> <86r0msroas.fsf@gmail.com> From: =?utf-8?Q?S=C3=A9bastien?= Lerique To: Simon Tournier Cc: help-guix Subject: Re: Emacs on a reMarkable Date: Fri, 22 Sep 2023 09:14:17 +0200 In-reply-to: <86r0msroas.fsf@gmail.com> Message-ID: <87sf76znka.fsf@eauchat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=91.224.149.118; envelope-from=sl@eauchat.org; helo=eauchat.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -7.48 X-Migadu-Spam-Score: -7.48 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Queue-Id: A10145C396 X-TUID: m/RjoEFZOqQH Hi, On 21 Sep 2023 at 09:14, Simon Tournier wrote: > Other said, it seems something about =E2=80=9Chash guix=E2=80=9C as proba= bly recommended > by the message ending =E2=80=9Cguix pull=E2=80=9D. :-) > > Well, my guess is that the command =E2=80=9Cguix=E2=80=9D points to the s= ame executable > (/usr/bin/guix) before and after =E2=80=9Cguix pull=E2=80=9D. Something = like: > > # apt install guix > # type -P guix > /usr/bin/guix > > # guix pull > # type -P guix > /usr/bin/guix > > # hash guix > # type -P guix > ~/.config/guix/current/bin/guix > Aha indeed that makes perfect sense! I just re-checked and the two "hints", including setting PATH after the first guix pull, are exactly to the point: root@vm-remarkable2:~# type -P guix /usr/bin/guix root@vm-remarkable2:~# GUIX_PROFILE=3D"/root/.config/guix/current" root@vm-remarkable2:~# . "$GUIX_PROFILE/etc/profile" root@vm-remarkable2:~# type -P guix /root/.config/guix/current/bin/guix root@vm-remarkable2:~# hash guix # only makes sense after updating PATH root@vm-remarkable2:~# type -P guix /root/.config/guix/current/bin/guix >>> root@arm-vm:~# /usr/bin/guix pack -R -S /emacsbin=3Dbin emacs-no-x >>> /gnu/store/wpxqqdcslxxx9g9l9j847ifgh0xdlsfl-emacs-no-x-tarball-pack.tar= .gz >>> >>> root@arm-vm:~# guix time-machine --commit=3D65dcfb3f3865d08467da7470412= 63fd22460d393 \ >>> -- pack -R -S /emacsbin=3Dbin emacs-no-x >>> /gnu/store/pszvzh7917kkf1cisxd46bx8vlac25zh-emacs-no-x-tarball-pack.tar= .gz > > In these two commands, the Guix revision used for producing the tarball > is explicitly set. Commit 65dcfb3 is just a recent one =E2=80=93 pick th= e one > you prefer :-) =E2=80=93 the point was to verify you get a different tarb= all for > another revision than the =E2=80=9Cold=E2=80=9D one and thus check if the= issue is about > an incorrect configured =E2=80=9Cguix=E2=80=9D command. Does it make sen= se? > Yes, thanks! I like the way this reminds me of another aspect of the philosophy where data and code are not separated. One is (or can be) the other, and which "guix" binary (or script) is used matters. Thanks again, and best, S=C3=A9bastien