From unknown Fri Jun 20 07:18:34 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#72928] [PATCH] time-machine: Print profile path if no command is given. Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Sun, 01 Sep 2024 13:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72928 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72928@debbugs.gnu.org Cc: Tomas Volf <~@wolfsden.cz>, Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by submit@debbugs.gnu.org id=B.17251989732216 (code B ref -1); Sun, 01 Sep 2024 13:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Sep 2024 13:56:13 +0000 Received: from localhost ([127.0.0.1]:35669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skl3s-0000Zg-Ic for submit@debbugs.gnu.org; Sun, 01 Sep 2024 09:56:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:44128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1skl3q-0000Za-KS for submit@debbugs.gnu.org; Sun, 01 Sep 2024 09:56: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 <~@wolfsden.cz>) id 1skl2s-0006eh-LG for guix-patches@gnu.org; Sun, 01 Sep 2024 09:55:10 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1skl2q-0007IT-E1 for guix-patches@gnu.org; Sun, 01 Sep 2024 09:55:10 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 4664126E8DB; Sun, 1 Sep 2024 13:55:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1725198905; bh=Nz8kKS943NHoVmE9IU+7u/5WuLij5oPE28A/GmrKIZI=; h=From:To:Cc:Subject:Date; b=MswLh/8qS9R/QwKFoOfqG+/VHaq60cu/wSLo3B/OdmGUEwO3f3y3bNhGv0gTr/F+M mnI8az7/HByvJNAu9h1W/UM78O4Jcnk3g9qaMCx+AJEJvm7VAsBrNMi+1+9+gGq8Nj pC7vGeuGKU+qmSxk1kVHFKpAYOI6jJg9jpTdoOLn0u3JysIW1zURj7HClQ43RmayF2 JJT0CfP9kudp2iWzPd7cgAhDF+jpbggxwSQIzkdIskK/wQgTIoaXeaCftcMpvcw2ka p+kfF1bebe5cTU61vg2rK2qd6sx0zSLmIXbQGZmgz0mukLiVag0VlwAuJAYLDdt2xi PqFt+645jqm7w8BrnIhgx2A1v/s/ftKC/0+9a5Ur3hs6shzSWIxbM/teIVJ+nMRWGN XGVsXPu6h22dcA1EF47siARdNR4PkOUZ9jJ6mhMYOlov2UssAb/VQWjyNCD4F+132e IZSNM0vnrf3C3WCrGZ/Ms6+vGrtv/E9NGlro+XJae+Pv9kPQkUJdu05NADZXnlIATV DyPvdmm1ps6RKNmXfoq0+0aD3gApRoNsADzYth38bNdHgkBomwWdGYE3Ywel8/OarZ pOtRCy4MyouhydUbXWYZYm3SVQM923rSpwDALO2CXGKBqRvn9KP2cQhmoombH8rm4e zN4gX/ReWmq1ZpheY2VUKEe0= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from localhost (unknown [193.32.127.157]) by wolfsden.cz (Postfix) with ESMTPSA id 0273426E97F; Sun, 1 Sep 2024 13:55:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1725198904; bh=Nz8kKS943NHoVmE9IU+7u/5WuLij5oPE28A/GmrKIZI=; h=From:To:Cc:Subject:Date; b=FSg1pAKr+h00zHwTRz8Wq4eceCtKxnINgby39EczVkUKhC/jYyCdWiQptJdAVeL6E P05fCktgs11xEiBUew/xXq7NqqrF2FySR+Nzv9ijcnAMav1sao6s+MaK7X0OFDzyPC q58lGMIy8EZtK8yphz5BqAYv/oqOmWYco5mrFPuDfI5xmYYwe85GwOIeDiM0/V7u1U 5j3UpjP/DXNxk0tEDorncYau/BbmQ1cSmQebYG1TeYdrwJCRLCpNlP5X5uNvRKG+2m avURV1EyF7Eafi7G6OkFUwQ0Ug7/ZruIOdeFrdj5fgR7yowXYU37CY04KJvcBx7ebN mPBOUawSGhw9F/otF2KF5cb9nDFeeJ2cMsrEtlWSIH/UHGjFtstPfftCd3pZRNchNH CtenGPcCDGjSM1RkJqigEGsjgIy9TNYOexIZt/jTEGNYxeXgq1ZTZwcuVck2KwZs/V tKpPiBSAa958yG6vVcRBjMOOUSBWP6sn27z4i3DBz05wEqc463vcKzQujs4E5EKRfT 9FA2S1SJTuGtTeqW/NSVBSf5QiMn98GvZCviMVG9a9bL104R5xsqgUGu5WTGfNCdBy gWs7pEbbYfjrSp4sRtvTLJqn1CO/4xweLWC17X1h3KRVEhp7NR+YDNL+wLKAayA03T DbVrmCOlLpZj0KZRViq0tMuM= From: Tomas Volf <~@wolfsden.cz> Date: Sun, 1 Sep 2024 15:54:49 +0200 Message-ID: <9f9f76785a5f43b77eeff14d407c675876dffd61.1725198888.git.~@wolfsden.cz> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Instead of warning, print the profile path of the cached-channel-instance. * guix/scripts/time-machine.scm (guix-time-machine)[not command-line]: Print the profile directory. Change-Id: Id2c1ded514e6c5af45af9008ad1ef91beb509177 --- guix/scripts/time-machine.scm | 38 +++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/guix/scripts/time-machine.scm b/guix/scripts/time-machine.scm index d9ce85df84..8cad457ade 100644 --- a/guix/scripts/time-machine.scm +++ b/guix/scripts/time-machine.scm @@ -179,22 +179,22 @@ (define-command (guix-time-machine . args) (ref (assoc-ref opts 'ref)) (substitutes? (assoc-ref opts 'substitutes?)) (authenticate? (assoc-ref opts 'authenticate-channels?))) - (if command-line - (let* ((directory - (with-store store - (with-status-verbosity (assoc-ref opts 'verbosity) - (with-build-handler (build-notifier #:use-substitutes? - substitutes? - #:verbosity - (assoc-ref opts 'verbosity) - #:dry-run? #f) - (set-build-options-from-command-line store opts) - (cached-channel-instance store channels - #:authenticate? authenticate? - #:reference-channels - %reference-channels - #:validate-channels - validate-guix-channel))))) - (executable (string-append directory "/bin/guix"))) - (apply execl (cons* executable executable command-line))) - (warning (G_ "no command specified; nothing to do~%"))))))) + (let* ((directory + (with-store store + (with-status-verbosity (assoc-ref opts 'verbosity) + (with-build-handler (build-notifier #:use-substitutes? + substitutes? + #:verbosity + (assoc-ref opts 'verbosity) + #:dry-run? #f) + (set-build-options-from-command-line store opts) + (cached-channel-instance store channels + #:authenticate? authenticate? + #:reference-channels + %reference-channels + #:validate-channels + validate-guix-channel))))) + (executable (string-append directory "/bin/guix"))) + (if command-line + (apply execl (cons* executable executable command-line)) + (format #t "~a\n" directory))))))) base-commit: ef525ba96f04c6b3a5e45ab5333c9f440df81e5f -- 2.45.2 From unknown Fri Jun 20 07:18:34 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#72928] [PATCH] time-machine: Print profile path if no command is given. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Sep 2024 14:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72928 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf <~@wolfsden.cz> Cc: Josselin Poiret , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , Christopher Baines , 72928@debbugs.gnu.org Received: via spool by 72928-submit@debbugs.gnu.org id=B72928.17258928596304 (code B ref 72928); Mon, 09 Sep 2024 14:41:02 +0000 Received: (at 72928) by debbugs.gnu.org; 9 Sep 2024 14:40:59 +0000 Received: from localhost ([127.0.0.1]:33828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snfZa-0001db-J9 for submit@debbugs.gnu.org; Mon, 09 Sep 2024 10:40:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snfZX-0001dK-GD for 72928@debbugs.gnu.org; Mon, 09 Sep 2024 10:40:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1snfZN-0005v9-5v; Mon, 09 Sep 2024 10:40:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=redpgpRJysiPD0N9wXuU/TgN91i2bU4rw3tqfiSmHuM=; b=mAmDMXwig84f4nzRgxLj Pm0tIKIOU0pHc4mWk5AEaGTZ2xy4/4UzullMgdbyDb1IxpvSReKBJsYlnJyTtFcwcROzn4U70tFeM ScofpiNE1DbT8VkvyNa3ziyVjFjyJHziF2GuTaURTZc8pBuNkR7eTb3ETBofO5bgdBYSOhwOjtuhT fnpSVIsqBUiuR7T55GH/Q3QHv7rrQBRZ64YpoZ+a0PKowbmvX1hT5cBg0sJwYTazAMfqrbxJQ5SEO xUuq0BVAlrh3be0BkOI3eYDLDoG3cIvfwcYZzr8GBPgJruyF0hDdES+GAhq4ZNfR1sCAIXa0xy86B QMqccctNhzUSpA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <9f9f76785a5f43b77eeff14d407c675876dffd61.1725198888.git.~@wolfsden.cz> (Tomas Volf's message of "Sun, 1 Sep 2024 15:54:49 +0200") References: <9f9f76785a5f43b77eeff14d407c675876dffd61.1725198888.git.~@wolfsden.cz> Date: Mon, 09 Sep 2024 16:40:41 +0200 Message-ID: <87o74wc2l2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Tomas Volf <~@wolfsden.cz> skribis: > Instead of warning, print the profile path of the cached-channel-instance. > > * guix/scripts/time-machine.scm (guix-time-machine)[not command-line]: Pr= int > the profile directory. > > Change-Id: Id2c1ded514e6c5af45af9008ad1ef91beb509177 [...] > + (if command-line > + (apply execl (cons* executable executable command-line)) > + (format #t "~a\n" directory))))))) Maybe print =E2=80=98executable=E2=80=99 rather than =E2=80=98directory=E2= =80=99? Also perhaps add a sentence or two in the manual? At any rate, this sounds like a useful change to me. Thanks, Ludo=E2=80=99. From unknown Fri Jun 20 07:18:34 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#72928] [PATCH] time-machine: Print profile path if no command is given. Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Sep 2024 20:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72928 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Josselin Poiret , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , Christopher Baines , 72928@debbugs.gnu.org Received: via spool by 72928-submit@debbugs.gnu.org id=B72928.172643270613180 (code B ref 72928); Sun, 15 Sep 2024 20:39:01 +0000 Received: (at 72928) by debbugs.gnu.org; 15 Sep 2024 20:38:26 +0000 Received: from localhost ([127.0.0.1]:50581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spw0n-0003QW-Pv for submit@debbugs.gnu.org; Sun, 15 Sep 2024 16:38:26 -0400 Received: from wolfsden.cz ([37.205.8.62]:60940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1spw0l-0003QM-8n for 72928@debbugs.gnu.org; Sun, 15 Sep 2024 16:38:24 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id B44AD31B1CA; Sun, 15 Sep 2024 20:38:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1726432689; bh=7A+konG8Vmk8PZuzMiDOhwnS9579sIuiJBw/b+MY1YA=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=IapHyEahyZPIN7WDR1mVfRsKDkGYIw64JQ2rc8Y7VteNKRZrPniUGjjs1ox3jEj9i A6kG9NBvwaP8eFPOsYfpyvzhrSOZgBqCG7aYNsSYJC2ZVf8A6jIfNhTNLlvQhqNrY8 mLoDlaEiNkKU5W69HBjD8DN3Uz2/gOaZyU8nyQRDFWtUjh5lyfdqCcW5qX2voTWDD9 hXy5pUlAOD5MOgKwIpwJayDULNgwn/dFV9sblOXKYSu8eERIBeTpc8c+ph50cuGA8S 3RUIJQkKIhYDsecVsdYunel9mxLoeOV2Oh7lli4Ec1+5yKpF59YwxDaDEkVVuBIOxV X0vq3elnDB3monFAG5CUFligPkkU1Q4LPxI/iIFu0L6wXuYAGdnoqgJR2HH1x7mDd9 6KnB8rRbh1KIZ6GIRPZQawmvWdyxh+StYsuyLV5gMMQ0nLeFSCC7PWOA3cPEXiWtCM E92C0bLYii+wZ4gyhW/5jZxr+LgpeA9ifRNUqQFMP1m1ySJY/2HalUEy00v4W4nvyM RgFhM82GnyP96quE+XxBeO/czEnSJfducG4ycjiEen9v1tkOOM5P9YBRD6mquuycOw c1h45n+YSjB5eyIkhRNA9ReEZGrm4lSmcg4C0IOvnIhCjKF4WZvP5d/JUYRQlV5VN8 AqkirIawvtz51T9/ze671u5U= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 560C231B9A2; Sun, 15 Sep 2024 20:38:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1726432688; bh=7A+konG8Vmk8PZuzMiDOhwnS9579sIuiJBw/b+MY1YA=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=CXASgUjQGEFFXEhC+GPJYb69jp1eZC0BJ4HAed0yx7eRYLAVhQfXPdQjTPPiOG8bM iT7sc5LEKzen3+O6Zj7GE+VbvuaCr7oh9zits8Z/n+7RIRZ2pEVUPfMilntGI5VyxC JS/9VpoPq8AhjkC0JAcVf2JFPPqph8bg11yfAJWVsQbxLfNySJfnD74j+Qz/ni4dom Pd7ZuVIyLnCs+rPGmLU7Is15dT5kRYrK2Wn5u04RHuMHJIHErFt98ClTuU+TwBY5yV kD06j3De0Qmx0ZCOLSe80uWYeVKa3tvjGK6o5DRJylFpQs4hEmvDBMaOJyNEToddef QwHUXJ+LOQ9ltQGNqKGBB88isE/PPixRMXW6YH5V5SRzMkGmEqxIVk9tjQYSrSvGy5 zfwi3h6k1Yjahl1Zu6ESkAFZKpSxRKRbFna5aHKKtXQACCQ9wMssh7rbNAwtnHgZ1q QeZyI7aMTiLDoqaautOaTMACgo+/IGIez0PqAkp5VKE1b22JXAafUWm81OUWEYW17b 891IC/6nopfjSltyawST9Jw5SUMnI8/hfNwdEMIM6tkfDe0fSC+/9FbLaktNWYiaCj 8KSKwEYsj75IFtWt23mncVOjatvFlB7vueVAMHmGDAF9qIKHgHqWf1/rk5PV+MK7OE kYeIt+H1bAzyGdxVeRnPWp+8= From: Tomas Volf <~@wolfsden.cz> In-Reply-To: <87o74wc2l2.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 09 Sep 2024 16:40:41 +0200") References: <9f9f76785a5f43b77eeff14d407c675876dffd61.1725198888.git.~@wolfsden.cz> <87o74wc2l2.fsf@gnu.org> Date: Sun, 15 Sep 2024 22:38:07 +0200 Message-ID: <87r09khcuo.fsf@wolfsden.cz> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Ludovic Court=C3=A8s writes: > Hi, > > Tomas Volf <~@wolfsden.cz> skribis: > >> Instead of warning, print the profile path of the cached-channel-instanc= e. >> >> * guix/scripts/time-machine.scm (guix-time-machine)[not command-line]: P= rint >> the profile directory. >> >> Change-Id: Id2c1ded514e6c5af45af9008ad1ef91beb509177 > > [...] > >> + (if command-line >> + (apply execl (cons* executable executable command-line)) >> + (format #t "~a\n" directory))))))) > > Maybe print =E2=80=98executable=E2=80=99 rather than =E2=80=98directory= =E2=80=99? Printing directory gives nice symmetry between =2D-8<---------------cut here---------------start------------->8--- $ $(guix build guix)/bin/guix describe guix 9a2ddcc repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 9a2ddcc8f5a6f64b475eeb13a3f1034aa6a4a49a =2D-8<---------------cut here---------------end--------------->8--- and =2D-8<---------------cut here---------------start------------->8--- $ $(guix time-machine -q --commit=3D9a2ddcc8f5a6f64b475eeb13a3f1034aa6a4a49= a)/bin/guix describe guix 9a2ddcc repository URL: https://git.savannah.gnu.org/git/guix.git commit: 9a2ddcc8f5a6f64b475eeb13a3f1034aa6a4a49a =2D-8<---------------cut here---------------end--------------->8--- And in some cases you need the store item (guix copy?), and in my opinion it is easier to go from directory to binary than other way around. But just let me know which way I should do it. > > Also perhaps add a sentence or two in the manual? Ah, yeah, definitely. Once previous point is clarified, I will send v2. Tomas =2D-=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmbnRa8OHH5Ad29sZnNk ZW4uY3oACgkQL7/ufbZ/wam2ew/7BJpO0256mkKBAi2HmrcIdr5Sv3pSuMrtrMDu j1rhUBa5t+GrwNlD500ELq3G0EtWsn/3KDGeV7h9823Bzjl0I31ZDH9v7s8zHcbr HUtvIenRw5gXu+S4h8G6dQif1VcarbgOPL+WJWNEjdlQUjatf9t2aLt+UtIJw0fT Uo3Djly7MMXoT2vOhY//uocvgiv8r1cyG9dBxjAoSh3IhdKtWTNIby6bU07VDu6d JFdzdifjn/bI0ikwWPuA6CwyAb8xw9m8nyZuy25X6QGyr7UIplsUukHyR6QEZ/bT mqo6Eja89b7hfbhQU7a9znr1OWshe4hOulqHJOiD2+IYhRstHKti6Pfu4aujnciy FO1T0vAF9/XKq52WgSXfV639b38bK9S5h6RN3G3oHmoRKsD+O8XJjYVIWwp/PbCY bquM+aVuxW/D7PCt9s7EKuKlQNn2c23Qkd8Y1zyIxeDVYDCRVBonsevphbQBb4nT z8BQzEPQ3eXXi4rQDvBWwPFT7pstdIHviyZrtmbsMeLlaCTG52nmRbH+7Z+7fHnr SwuIJmncFE6kJ81Du0pmebNVMPHQBDFqSt2laCavRNXQGYWfqC870QIHKeD0rX2L FnpVtP4bmi4u1K7WwsiL2G6nL7AY6JIibYe1zNtTGA16747SRDyL/B0cdSqfI0dY VzMDr9k= =syny -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 07:18:34 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#72928] [PATCH] time-machine: Print profile path if no command is given. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Sep 2024 21:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72928 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf <~@wolfsden.cz> Cc: Josselin Poiret , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , Christopher Baines , 72928@debbugs.gnu.org Received: via spool by 72928-submit@debbugs.gnu.org id=B72928.172643591724761 (code B ref 72928); Sun, 15 Sep 2024 21:32:02 +0000 Received: (at 72928) by debbugs.gnu.org; 15 Sep 2024 21:31:57 +0000 Received: from localhost ([127.0.0.1]:50626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spwqb-0006RJ-B4 for submit@debbugs.gnu.org; Sun, 15 Sep 2024 17:31:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spwqY-0006R4-Bk for 72928@debbugs.gnu.org; Sun, 15 Sep 2024 17:31:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spwo7-00068j-Qr; Sun, 15 Sep 2024 17:29:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=eS9E3RVjPGmN8LCjVCsjTGel46kGyUP551e2fMG3C+c=; b=oACiqMdgYojm/2RJGMXJ ee/tUsVrhm68kpWGPu1N5AbhgssBDhw5L89E/ZE0cuy39BENcWWs+nkH16WRGB2coayMGSLE3itqH psJsmci9eZr6hAhtZ6UpQnM8auEdfBRG7qKeoUZY0lxKgBiYEIaijbRL4gnxUBMDmj6rDf6kb+pJt Efmo4Afda4m0LbmJj1o3L8YpiK/16FuHgnbPlVW7nWFMZ5MRMrLT5a+aifEnbuuK6CQW2BsevfUo9 bGu4rjhog73pT/CUg2JEz4Paw9eXau70pHFVGb2zeakiRn0FAkJcRwd7mjNe3snY/NQqpJ+9cCu+k l+L8KtvDXPqL4Q==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87r09khcuo.fsf@wolfsden.cz> (Tomas Volf's message of "Sun, 15 Sep 2024 22:38:07 +0200") References: <9f9f76785a5f43b77eeff14d407c675876dffd61.1725198888.git.~@wolfsden.cz> <87o74wc2l2.fsf@gnu.org> <87r09khcuo.fsf@wolfsden.cz> Date: Sun, 15 Sep 2024 23:29:19 +0200 Message-ID: <87frq0d2s0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Tomas Volf <~@wolfsden.cz> skribis: >>> + (if command-line >>> + (apply execl (cons* executable executable command-line)) >>> + (format #t "~a\n" directory))))))) >> >> Maybe print =E2=80=98executable=E2=80=99 rather than =E2=80=98directory= =E2=80=99? > > Printing directory gives nice symmetry between > > $ $(guix build guix)/bin/guix describe > guix 9a2ddcc > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 9a2ddcc8f5a6f64b475eeb13a3f1034aa6a4a49a > > > and > > $ $(guix time-machine -q --commit=3D9a2ddcc8f5a6f64b475eeb13a3f1034aa6a4a= 49a)/bin/guix describe > guix 9a2ddcc > repository URL: https://git.savannah.gnu.org/git/guix.git > commit: 9a2ddcc8f5a6f64b475eeb13a3f1034aa6a4a49a > > And in some cases you need the store item (guix copy?), and in my > opinion it is easier to go from directory to binary than other way > around. Ah yes, good points, I agree. Let=E2=80=99s do that. > Ah, yeah, definitely. Once previous point is clarified, I will send v2. Green light as far as I=E2=80=99m concerned! Thanks, Ludo=E2=80=99. From unknown Fri Jun 20 07:18:34 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#72928] [PATCH] time-machine: Print profile path if no command is given. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 20 Sep 2024 16:12:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72928 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Tomas Volf <~@wolfsden.cz> Cc: Mathieu Othacehe , Josselin Poiret , Tobias Geerinckx-Rice , 72928@debbugs.gnu.org, Christopher Baines Received: via spool by 72928-submit@debbugs.gnu.org id=B72928.172684870415462 (code B ref 72928); Fri, 20 Sep 2024 16:12:03 +0000 Received: (at 72928) by debbugs.gnu.org; 20 Sep 2024 16:11:44 +0000 Received: from localhost ([127.0.0.1]:36150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srgER-00041B-Sg for submit@debbugs.gnu.org; Fri, 20 Sep 2024 12:11:44 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:56812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srgEG-0003zf-9J for 72928@debbugs.gnu.org; Fri, 20 Sep 2024 12:11:32 -0400 Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-42cae6bb895so20753825e9.1 for <72928@debbugs.gnu.org>; Fri, 20 Sep 2024 09:11:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726848607; x=1727453407; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=fAEGoKhkk6WD9nZGpJZLTC9l5EmM7mcz2801nM/b0kI=; b=DmWem023pSf7l6c97PDJHoQDOnq2pbRo2cyArI3bmTmdKW87QnhS45mzpoOcd66/Y8 tkBQkxQFwf5MZk2WWABsP66DDEh6zjfutJl33ofVlcjhLdH03A4bTSA1edsx01KtOYZq RTfnKADfMGLpAMtR3Vj6ddxLC4GA73FyK4L4Y0ntxb4asl4mHDk71tXuZzCecyWprfKs Gy17srsOBkP8DyLuxgnIQfgIfQO/QBTLe3o9ISOIWrdxsPkM8v7Z1/LGMk+Mfe7rglhb YxaM10wkxufpEeyVRrmScEtXdK+3Cw4LfF7EhnOeI3noATAFBYCU7OvA8HQxEmUmDnOd fooQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726848607; x=1727453407; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fAEGoKhkk6WD9nZGpJZLTC9l5EmM7mcz2801nM/b0kI=; b=S7WI9kGBkU2lsIEcThJ4+YT1ADY/z/NcZMEUgDLrm7I7zh+hR5khKsfmS8VvD4I5BF S5mN7kztyPIRqZ0ZdEAZ2OXwv1lyPHOUU4MfwoIeqYt3IKHUNsXXv1YZFDwCCoEPYE6R dUUMyKEd4Qaf4xNpzhWvCcuFZnsN/B57U9cDBj7eWsa2fv/UT6HBx+YU9Pj+IsE0ee0f l90Nk4IkcVSNEbFpHlyoA2Kk16/H3VLjTRChhW+I4Y5o1rIfG/nIbxkFqgF5tk71ZAsT Sg6pSFgsYCXaMx2wjMZv6K/7wFlPH/XcrNJa4aUoN/457fMVt/x4twVF5ViS20egoe4H wVig== X-Forwarded-Encrypted: i=1; AJvYcCXQuPCw0PF4/nLQScvHZyDg3N3Xrzqy1I4voNbr+wZKKXRxOSsZg68NHEGVxQ1MZqlInQbtYg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yw8ViS8unGWDcKuTeD4nAI7CV+mt3M2Pqwn5PpjhU00US/4bFLY aPZ9Eczej+6TMOaDn6eaYOXoS+v2rxhNkIVZSzNmLdND8113bzkceIljJA== X-Google-Smtp-Source: AGHT+IG4vIBUgo8h2ffgknBpj4mZGB9yfuF8/fPrbz9lplNGPzpAmXQlb7d5NMruHVJb1PI2YQ1ayw== X-Received: by 2002:a05:600c:5359:b0:42b:af52:2525 with SMTP id 5b1f17b1804b1-42e7d143601mr20859095e9.16.1726848607472; Fri, 20 Sep 2024 09:10:07 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42e7af895acsm27097985e9.12.2024.09.20.09.10.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Sep 2024 09:10:06 -0700 (PDT) From: Simon Tournier In-Reply-To: <87frq0d2s0.fsf@gnu.org> References: <9f9f76785a5f43b77eeff14d407c675876dffd61.1725198888.git.~@wolfsden.cz> <87o74wc2l2.fsf@gnu.org> <87r09khcuo.fsf@wolfsden.cz> <87frq0d2s0.fsf@gnu.org> Date: Fri, 20 Sep 2024 17:49:10 +0200 Message-ID: <877cb6tjex.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On dim., 15 sept. 2024 at 23:29, Ludovic Court=C3=A8s wrote: >> Printing directory gives nice symmetry between >> >> $ $(guix build guix)/bin/guix describe [...] >> $ $(guix time-machine -q --commit=3D9a2ddcc8f5a6f64b475eeb13a3f1034aa6a4= a49a)/bin/guix describe [...] >> And in some cases you need the store item (guix copy?), and in my >> opinion it is easier to go from directory to binary than other way >> around. Well, I do not have a strong opinion. And indeed the symmetry looks nice. However, just to be sure: what=E2=80=99s the use case? Because $(guix time-machine -q --commit=3D9a2ddcc8f5a6f64b475eeb13a3f1034aa6a4a= 49a)/bin/guix describe is equivalent to: guix time-machine -q --commit=3D9a2ddcc8f5a6f64b475eeb13a3f1034aa6a4a49= a -- describe Cheers, simon From unknown Fri Jun 20 07:18:34 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#72928] [PATCH] time-machine: Print profile path if no command is given. Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 22 Sep 2024 14:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72928 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Simon Tournier Cc: Josselin Poiret , Mathieu Othacehe , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Tobias Geerinckx-Rice , Christopher Baines , 72928@debbugs.gnu.org Received: via spool by 72928-submit@debbugs.gnu.org id=B72928.172701422320561 (code B ref 72928); Sun, 22 Sep 2024 14:11:01 +0000 Received: (at 72928) by debbugs.gnu.org; 22 Sep 2024 14:10:23 +0000 Received: from localhost ([127.0.0.1]:42592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ssNI6-0005LZ-Oe for submit@debbugs.gnu.org; Sun, 22 Sep 2024 10:10:23 -0400 Received: from wolfsden.cz ([37.205.8.62]:36084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1ssNI2-0005LL-FK for 72928@debbugs.gnu.org; Sun, 22 Sep 2024 10:10:21 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 77865327B3A; Sun, 22 Sep 2024 14:09:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1727014195; bh=vvaWlCsjRY75Kndqt6fjWAfYckAu336ZgubyIFK6XxA=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=vpQDHfvVIUx0fepDVsA/OoZtXkHcUrRf5JJVOdMkSdC2bzjS9ntbCzM0YDR5d5ALy cnRds6TZBWtdpWrAIXKlOnRrimAjNdk2XFjMYdRDBDvqGgtVJWTjsv8f/3aIGpqb4D XKh2ngiCNKBmlGdWiA+yx6RNZ1Hk+O1jWLk1q9zPZs81sOnSI6JwNQhvRmA2T29Q5O AMdUVxOisqsj5sPmWXwwOGORiISJXBOSAF1lt6efBEuj80yp6Zdj/cfx+L0iTcxkwT nCbGGuivKc5PsF4A6eZQcQmWD6zTFO2UMYg3i2DD6jX1+7bZYEYOVXUAmGxIaT9iax uOXrf2dkhbMiGqPf79oBLKnXoC+dThOKvcIDTmJncDZGal05Umkv8awxCXWpIt5A6Z fGs+adsYS50GpnTnQemzRksq0Db5uKXdHv/k/gLgmfml7QAFCzh1xxKdtJsizNI7Zs 0kPU2rZrk5UuewyIA2GfXsDl71KxQGtUPLOtvm7y4qGQsgZ4Ct4x6mRZ/b9q08c7eP YN4vVzchHOPDTrIzL9IPwC+ScCEwARxGLJFFErnngiitm2Yzx8NJRLNdXcPNSymccH UIIwfRJB0jYWF2Nu2cuf8Z60jY8gAM1CarYFTqmpElsYEB9i21WIFvw3Ec9ucWXeoF M3wTFX53B6WXQJRlo/gVpekA= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 4DBE93271AA; Sun, 22 Sep 2024 14:09:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1727014193; bh=vvaWlCsjRY75Kndqt6fjWAfYckAu336ZgubyIFK6XxA=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=PHNIwI/qYrXKuTHwZkIqBU5YkdKrS2I1mfslJW5PYDIVNqYYMldpnVWaUDYrkr+4d kCJPhvBNyjz256GBgf7uYSkYUnXYZwIR4cpVNGdfo/q/LRcdH2VZBG1BSzoBHMZNI5 DCU0e3KxSxUYwuiu322A00EwYzw7kx2iPunMGyhrr2gu+rd4ZzNd+X62R60x2VZgXf gnRHbA1ut+WkhZA1cPvcJcyzBD5wqSA9PJDNJVytTRmtxV8KT/Mwmsj+2jvdPkkZF6 xbvBnW5qxWd9N3ZvCLqfPSg0MTgJMh2wGKwAOTO0rGxsP25ijQtd8+4P0uXstu8Ue8 3mBbrRBdMeOfQSYFdQ0W5mT1EeMXa2QocKmNmO5AdR7OwPjkWWWG4LXbjsgpGm2Tf3 WRiHNnqLHOFJy6jmttZEtLD065Eh5BysIkuMdoSfDqvYgKcHc93aBIRnZqI+KJBrhj f/XtKX3Yu4cOdwfF5jCtX8Vf9OVw/ZroOGs0/1lJKxmENG/dep6OMCCao9zBDuxr0+ QD/CR8c0EtN1LpJedOdmhWjvadmP1b7FWbWE7OXRmuTPpUG5cfXtOzoOJDjPk0t5Gz nf66sxMjfogsknwDXKlmSst/gbMGEeuzLRft1z52jI96FjrPayDMfw+wpPaxlsajl+ LPreKS/ZmBLEaRAN/O3FYeZM= From: Tomas Volf <~@wolfsden.cz> In-Reply-To: <877cb6tjex.fsf@gmail.com> (Simon Tournier's message of "Fri, 20 Sep 2024 17:49:10 +0200") References: <9f9f76785a5f43b77eeff14d407c675876dffd61.1725198888.git.~@wolfsden.cz> <87o74wc2l2.fsf@gnu.org> <87r09khcuo.fsf@wolfsden.cz> <87frq0d2s0.fsf@gnu.org> <877cb6tjex.fsf@gmail.com> Date: Sun, 22 Sep 2024 16:09:52 +0200 Message-ID: <87bk0fg4pb.fsf@wolfsden.cz> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Simon Tournier writes: > Hi, > > On dim., 15 sept. 2024 at 23:29, Ludovic Court=C3=A8s wrot= e: > >>> Printing directory gives nice symmetry between >>> >>> $ $(guix build guix)/bin/guix describe > > [...] > >>> $ $(guix time-machine -q --commit=3D9a2ddcc8f5a6f64b475eeb13a3f1034aa6a= 4a49a)/bin/guix describe > > [...] > >>> And in some cases you need the store item (guix copy?), and in my >>> opinion it is easier to go from directory to binary than other way >>> around. > > Well, I do not have a strong opinion. And indeed the symmetry looks > nice. However, just to be sure: what=E2=80=99s the use case? Because > > > $(guix time-machine -q --commit=3D9a2ddcc8f5a6f64b475eeb13a3f1034aa6a= 4a49a)/bin/guix describe > > is equivalent to: > > guix time-machine -q --commit=3D9a2ddcc8f5a6f64b475eeb13a3f1034aa6a4a= 49a -- describe That is true. While I think the symmetry is nice (and goes with principle of least surprise), I am not interested in running guix this way. I am interested in getting the store item for the time-machined version of guix. Currently I have two uses in mind: 1. Using `guix copy' to avoid computing the guix derivation when I need to test something on less powerful machines. Guix does not built fast, so this saves both time and electricity. 2. Having something to pass into guix field of guix-configuration. Guix time-machine works great for both, since it is automatically built, cached and automatically cleaned after some time. Only pain point is getting the profile store path out of it. With the proposed change it will be as simple as =2D-8<---------------cut here---------------start------------->8--- store_item=3D$(realpath $(guix time-machine -C channels.scm)) =2D-8<---------------cut here---------------end--------------->8--- Does this sufficiently justify the existence of this functionality in your eyes? Have a nice day, Tomas =2D-=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmbwJTAOHH5Ad29sZnNk ZW4uY3oACgkQL7/ufbZ/wanrvg/9GIcnqeMHUJoeyFFOKCe/dfzEOcgsiLHGDzfH lYH+N3mNrcpV0pH3YMs1mxGgCFmeKj455pVTCZ0JfPtxSKsdycVpMnC7Fvka2Ieo KX3ntPT942iTbl8HwMB/Iule7l+T08CnTWdbzQxmk9wMNNK/pLN6y59mduZreF4w 0Qha+dHSv8+IYc0Y3XA1uRSh/OHPCVkIKUpXnDx08ha//x0UAEKLyv/jM1JOxhzK 68p71oU7dESATVunpPrTaQRMyFDSRd1oVRO4lqx4wwamwmaeguz7B0qTniVp0aLW 1W79kFZXfbjH0eGcd1gOkZhYklLV2RDY/6LeJJ5FGK04fBidSuXo6IxxSu10PfHx VQF7sVfZConEV/KNUr/M0V2bspjimrObU6JZHI7o4Iy1rC6PRjQ4k2+5pOjp64Ed 1wfGWqTCkXJQs/GYYlRhEfj5l4OFeTtABHMu8E4mqowU9zXrzkwFS2JR3mv4Step HRZHJTBv7aZ4EIidAJF9rs4c6nQSbiLiH0Ekjxv0Qb2xjK9oEHDfwMqPB5NNnH/d 49ZMWmMIP1jl03v1vofcKM1uP77r1sTwC5IKjf17kCOym3vvzfeom8c9aAPI9Mxj cCPabbA2bgRH+vZn+yfXVI5pD1mZaCzMzKjxCVgUoKh8V6LSRxvAAZD7tURNpzjF oIebbDk= =Fd/+ -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 07:18:34 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#72928] [PATCH] time-machine: Print profile path if no command is given. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Oct 2024 11:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72928 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf <~@wolfsden.cz> Cc: Josselin Poiret , Mathieu Othacehe , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Tobias Geerinckx-Rice , Christopher Baines , 72928@debbugs.gnu.org Received: via spool by 72928-submit@debbugs.gnu.org id=B72928.172795605526405 (code B ref 72928); Thu, 03 Oct 2024 11:48:02 +0000 Received: (at 72928) by debbugs.gnu.org; 3 Oct 2024 11:47:35 +0000 Received: from localhost ([127.0.0.1]:60156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swKIw-0006ro-NE for submit@debbugs.gnu.org; Thu, 03 Oct 2024 07:47:34 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:42139) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swKIu-0006ra-Ib for 72928@debbugs.gnu.org; Thu, 03 Oct 2024 07:47:33 -0400 Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-42ca6ba750eso5276195e9.0 for <72928@debbugs.gnu.org>; Thu, 03 Oct 2024 04:47:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727955985; x=1728560785; darn=debbugs.gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=8m2orQh00LCKeSoWX/gLWtjc9FQG2Kw1NQBgdqY+H4Y=; b=VpBAihJ47uCap9KyUdeT6s9Hdt7ebvbD8IS8OMBpJNW5DrEg1uEFuLJXfFdqjHahM8 +bsl/UTC7medt0WAERUEjb3Ivia44Pb7Ime6ByIUdL+euTCvETKPxSRyoYoqu0970Cfn pvzXjurOjnPhYgGh4xHOMkPdHooynN1Eq4GIdLvQIGlEKl1fkHxFfECm/orlU7c8mxWZ olcyhy/FsPn7teGz3U4ltoPAbu/ij7w1WRIcVrS4OG9wUatpdoY4VvJLXkpn8f/FF9UM aqxnHg04DCvqF1Zomh879lmjnJm/dK8eqpu6/0s5CLX18n64nkxInDWZ504oamaICKA4 WNhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727955985; x=1728560785; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8m2orQh00LCKeSoWX/gLWtjc9FQG2Kw1NQBgdqY+H4Y=; b=H7oOVV8ofmaheRcIUEoC+RkW/CJNb6zGva0pISbPxWakVdo5swkdZZv3nberjYwJcC hPiMBcAkOTp90KgRDa1TnU8bb+9hQkeWM3y14ZumooRD2pGgJYifMdahz0vO1cNduxiy mNtPCy47YgnXVvJMVqF3ChoFHte7BQ8r9Jt8/18IsrTtbTFcIs68Nry6x49c9/rquBX/ vtBuM4PCQRw4JHSzdUwDvg2M5ZVN/2LHLJNP6YfpfjOHjICCJpc181YKCCYDiLrkeI18 UlRZzb48QYXSbBTNAMCFWuMoxTDB1VcbHHXMcpoqw/0hvUYbOhdrPUgmJMTsAFD5Yh/1 aU/A== X-Forwarded-Encrypted: i=1; AJvYcCVjnkZcrukv3Q1ncNAsQSUmbtsxNrPhAcX5jr6WoUJzptjy6zWywTNcqPYuXb5EoePkPqOF+A==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyTh23kWQgKgcLhWY1egpIlkScNwWbroLlCtefS51iBq+WvmXqX yEKVoJ0PIWHRh5bIH4n51Vy5/umnUWO3rjyx6MJ5nxZnARDDTQEhKlgCTg== X-Google-Smtp-Source: AGHT+IEFPcpUVxw3dWwLbbWQIcY1pd1jk+v2QAPL+5Qmk8MaccpeTbamPbzvKxAQ9OS0A3v7kW0G0w== X-Received: by 2002:a05:600c:4f14:b0:42c:ba81:117c with SMTP id 5b1f17b1804b1-42f7df41e08mr17421815e9.6.1727955984593; Thu, 03 Oct 2024 04:46:24 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-45.net.univ-paris-diderot.fr. [194.254.61.45]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d082d2295sm1097099f8f.107.2024.10.03.04.46.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 04:46:23 -0700 (PDT) From: Simon Tournier In-Reply-To: <87bk0fg4pb.fsf@wolfsden.cz> References: <9f9f76785a5f43b77eeff14d407c675876dffd61.1725198888.git.~@wolfsden.cz> <87o74wc2l2.fsf@gnu.org> <87r09khcuo.fsf@wolfsden.cz> <87frq0d2s0.fsf@gnu.org> <877cb6tjex.fsf@gmail.com> <87bk0fg4pb.fsf@wolfsden.cz> Date: Thu, 26 Sep 2024 17:59:37 +0200 Message-ID: <87tte2jthy.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, On Sun, 22 Sep 2024 at 16:09, Tomas Volf wrote: > Does this sufficiently justify the existence of this functionality in > your eyes? Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.42 listed in bl.score.senderscore.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zimon.toutoune[at]gmail.com) 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.42 listed in sa-trusted.bondedsender.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.42 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.42 listed in wl.mailspike.net] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, On Sun, 22 Sep 2024 at 16:09, Tomas Volf wrote: > Does this sufficiently justify the existence of this functionality in > your eyes? Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.42 listed in wl.mailspike.net] 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.42 listed in sa-accredit.habeas.com] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.42 listed in bl.score.senderscore.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.42 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zimon.toutoune[at]gmail.com) -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Hi, On Sun, 22 Sep 2024 at 16:09, Tomas Volf <~@wolfsden.cz> wrote: > Does this sufficiently justify the existence of this functionality in > your eyes? Indeed it is boring to get the store path and this patch will simplify my life. :-) Cheers, simon From unknown Fri Jun 20 07:18:34 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#72928] [PATCH] time-machine: Print profile path if no command is given. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Oct 2024 15:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72928 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf <~@wolfsden.cz> Cc: Josselin Poiret , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , Christopher Baines , 72928@debbugs.gnu.org Received: via spool by 72928-submit@debbugs.gnu.org id=B72928.172805674419919 (code B ref 72928); Fri, 04 Oct 2024 15:46:02 +0000 Received: (at 72928) by debbugs.gnu.org; 4 Oct 2024 15:45:44 +0000 Received: from localhost ([127.0.0.1]:36290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swkUy-0005BD-2f for submit@debbugs.gnu.org; Fri, 04 Oct 2024 11:45:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swkUw-0005Ax-66 for 72928@debbugs.gnu.org; Fri, 04 Oct 2024 11:45:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1swkUm-0007l4-NP; Fri, 04 Oct 2024 11:45:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=jG5q84x/cNSWpM88FrfVM+W+oUqxQ43b9NPgb1D8deE=; b=r7r+AcdukZ5wVk8th/fH pfrN3qXUnZsJt5/ko0L0qy1c0kE7nKZP8llumubpjr3MvhT4QGnww1wshWSkzFY1mgdsCaOGEMpGR EelgbBWpA4qb2UQpjO3uriXn/jVkYPChmGAePFO02AcPUGscv/7q3PNEPxZWZWI2/SSUte8C2iakL GpN6IKQUrPdhvZDsNs01dBIaqB21nQht1vwSdaP5YULEH6ZFUwimiCdmmy8Kptrxmen0rUI5VFsMy jS3gxxedxTzgxgeM0q7ifWoq7y6jGWuaB2Ea2FvHXYmPDu/geGIf8RJSvQ0WYL1CH+Jo7BCY2AdO/ xWrLXRdvbmbX0g==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87r09khcuo.fsf@wolfsden.cz> (Tomas Volf's message of "Sun, 15 Sep 2024 22:38:07 +0200") References: <9f9f76785a5f43b77eeff14d407c675876dffd61.1725198888.git.~@wolfsden.cz> <87o74wc2l2.fsf@gnu.org> <87r09khcuo.fsf@wolfsden.cz> Date: Fri, 04 Oct 2024 17:45:23 +0200 Message-ID: <87frpbrhws.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hey Tomas, Tomas Volf <~@wolfsden.cz> skribis: > Ah, yeah, definitely. Once previous point is clarified, I will send v2. Please feel free to send v2 anytime, now that there=E2=80=99s consensus. Thanks, Ludo=E2=80=99. From unknown Fri Jun 20 07:18:34 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#72928] [PATCH v2] time-machine: Print profile path if no command is given. References: <9f9f76785a5f43b77eeff14d407c675876dffd61.1725198888.git.~@wolfsden.cz> In-Reply-To: <9f9f76785a5f43b77eeff14d407c675876dffd61.1725198888.git.~@wolfsden.cz> Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, pelzflorian@pelzflorian.de, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, maxim.cournoyer@gmail.com, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Sun, 06 Oct 2024 13:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72928 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72928@debbugs.gnu.org Cc: Tomas Volf <~@wolfsden.cz>, Christopher Baines , Florian Pelz , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Maxim Cournoyer , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: Christopher Baines , Florian Pelz , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Maxim Cournoyer , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by 72928-submit@debbugs.gnu.org id=B72928.1728221028940 (code B ref 72928); Sun, 06 Oct 2024 13:24:01 +0000 Received: (at 72928) by debbugs.gnu.org; 6 Oct 2024 13:23:48 +0000 Received: from localhost ([127.0.0.1]:40437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxREi-0000F4-A7 for submit@debbugs.gnu.org; Sun, 06 Oct 2024 09:23:48 -0400 Received: from wolfsden.cz ([37.205.8.62]:46842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1sxREf-0000En-8q for 72928@debbugs.gnu.org; Sun, 06 Oct 2024 09:23:46 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 1FB8F31F120; Sun, 6 Oct 2024 13:23:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1728221018; bh=zMTLKqdUJrWQeW0O4CebTsrmW5kg4/tsIZLSF10GGOo=; h=From:To:Cc:Subject:Date; b=mz41Fhgw4jhzXo7Lf8j45w75LdBqUdE7H1P8s8ji/PzVrK++wIFuGm35U56WTnF6y GBn88QHFAEGQN//ncAGdxEo0zTS+AFP1OL0hcShDUOJ1vPtKOYfUYxkFetP94oiRQR 3wiJsjuqAQ3iG0RcgUbVC3ujxbmUaVHXQJySgw2drDWDLHJUeAvGHIuwqpCOuzkIqz PW8Rhoj/FobNCAfYebHKZucEnX9Yt0W1okbpPWLh5k43u+lNNo7J1Z+p7mnscbTqsl 3VEz2iqC+OsQewqXJzeyZbj27HCNF6XW4NLsmZ+jNkbjYAJ+iVIXEOpFc3bukRRDJ3 jMCDATNiyoNTE0Pz/NqsQWXRc4rwdf17g6D6ZsIKtlO5KCttGm6d5FvCbZ6wgs4W/l jn5c98coK3ekMmN80ylx8SfMCgSftx3popffyhJTPsLa/+v96vo6JeyHSK0MC/MoUC DFAYGEQOfet+mqFqX5ZcPQuOiYsaZprcPcu9RYkF30uk1JTFrWlCYBcl2L/wkKBFHz gJqB7g920iNJmkr7ctYKkM3nN4VQ4dw6TmMYNOBL1QeA2dj7HdfSUWM3wZ+6VaOB/G 2iumeE6BIdOi22cagryvQOs4zBXCL9DTe/zGoa5I616e7jeqCvVx9GDCUnu4CtSYG4 hfPUUosNXYBuYAEPWKOdmj9M= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from localhost (unknown [146.70.134.132]) by wolfsden.cz (Postfix) with ESMTPSA id 83C1831E3E5; Sun, 6 Oct 2024 13:23:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1728221016; bh=zMTLKqdUJrWQeW0O4CebTsrmW5kg4/tsIZLSF10GGOo=; h=From:To:Cc:Subject:Date; b=E9TPyo4tpzaxcPZskIK64turtoIJCe8AWxmTxPlotcaKFaXV8zXns7h8IPj+00NZR PaBvSzg1hU/GSwDUL81w5NaC2jyCiakr1f1ISxBwCA/lG5S4NFmV1Ez5h4Lu4NKjKW 2AoYyUH4MbX1YdCRlLk1lKwC1aJpaq2jkKfEcuccZgJbHBjIA6Y8cUAILdvXhuvoAg 59sPTseZqp5kjX0g3lCaosp/Ip1hfFEjJ9ZXdQJbFdNgt5cj1kWwaqg4CAWmRmkvJm pKIN7rku2uX217GcAJOG55VwB8LEaxlaaIAKTR8XzVv9ZaOh6kyuLhZ9K65xBMPK3Z VQD4uF20R9vqi2x1E7GyQqamh5S3NwZW5qku3rxw96RUuZsvWBnpqE5EpoyC3gonS1 rK4ztF7LWtaBe5nKnbvnX/cdYszYja/b/hvp3fgDzBaqxw4F4Sh1t2r2mtLQVU/gaA UDs9b+cAC4+U6m+e3fsOTfsdoFqzD4QrLDUSwJPlhxBbJ3B7iuW+GgmUQzLr9ZRAxi lIzoswD/gBw9cEDxsI28xWbVwhRP3KqVESajBmtHvLz/DMdzMUo0LX9vvMo5snyhVl fXYOvoADhgiCqt0DZM96OF8agovRah4dz4NTq1SfVRPV9YxA/m/KLwGgt27SDtqHOI J31SLlaOIWzxzZiTmy36COv4= From: Tomas Volf <~@wolfsden.cz> Date: Sun, 6 Oct 2024 15:23:07 +0200 Message-ID: <7f53e25ef8bb1415d73c577b8845195eb013f6c9.1728220987.git.~@wolfsden.cz> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Instead of warning, print the profile path of the cached-channel-instance. * guix/scripts/time-machine.scm (guix-time-machine)[not command-line]: Print the profile directory. (show-help): Adjust usage message. * doc/guix.texi (Invoking guix time-machine): Document it. Change-Id: Id2c1ded514e6c5af45af9008ad1ef91beb509177 --- Adjust usage message and document the new behavior. doc/guix.texi | 5 ++++ guix/scripts/time-machine.scm | 44 ++++++++++++++++++----------------- 2 files changed, 28 insertions(+), 21 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 52e36e4354..72871316c8 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -4762,6 +4762,11 @@ Invoking guix time-machine their dependencies, and these are controlled by the standard build options (@pxref{Common Build Options}). +If @command{guix time-machine} is executed without any command, it +prints the path to the guix profile that would be used to execute the +command. This is sometimes useful if you need to get store path for the +profile, e.g. when you want to @command{guix copy} it. + @node Inferiors @section Inferiors diff --git a/guix/scripts/time-machine.scm b/guix/scripts/time-machine.scm index d9ce85df84..21145239d4 100644 --- a/guix/scripts/time-machine.scm +++ b/guix/scripts/time-machine.scm @@ -52,8 +52,10 @@ (define-module (guix scripts time-machine) ;;; (define (show-help) - (display (G_ "Usage: guix time-machine [OPTION] -- COMMAND ARGS... -Execute COMMAND ARGS... in an older version of Guix.\n")) + (display (G_ "Usage: guix time-machine [OPTION] [-- COMMAND ARGS...] +Execute COMMAND ARGS... in an older version of Guix. + +If COMMAND is not provided, print path to the time-machine profile.\n")) (display (G_ " -C, --channels=FILE deploy the channels defined in FILE")) (display (G_ " @@ -179,22 +181,22 @@ (define-command (guix-time-machine . args) (ref (assoc-ref opts 'ref)) (substitutes? (assoc-ref opts 'substitutes?)) (authenticate? (assoc-ref opts 'authenticate-channels?))) - (if command-line - (let* ((directory - (with-store store - (with-status-verbosity (assoc-ref opts 'verbosity) - (with-build-handler (build-notifier #:use-substitutes? - substitutes? - #:verbosity - (assoc-ref opts 'verbosity) - #:dry-run? #f) - (set-build-options-from-command-line store opts) - (cached-channel-instance store channels - #:authenticate? authenticate? - #:reference-channels - %reference-channels - #:validate-channels - validate-guix-channel))))) - (executable (string-append directory "/bin/guix"))) - (apply execl (cons* executable executable command-line))) - (warning (G_ "no command specified; nothing to do~%"))))))) + (let* ((directory + (with-store store + (with-status-verbosity (assoc-ref opts 'verbosity) + (with-build-handler (build-notifier #:use-substitutes? + substitutes? + #:verbosity + (assoc-ref opts 'verbosity) + #:dry-run? #f) + (set-build-options-from-command-line store opts) + (cached-channel-instance store channels + #:authenticate? authenticate? + #:reference-channels + %reference-channels + #:validate-channels + validate-guix-channel))))) + (executable (string-append directory "/bin/guix"))) + (if command-line + (apply execl (cons* executable executable command-line)) + (format #t "~a\n" directory))))))) base-commit: a873666d3bf716a5ae29275efaa000eaf6d1e2a8 -- 2.46.0 From unknown Fri Jun 20 07:18:34 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Tomas Volf <~@wolfsden.cz> Subject: bug#72928: closed (Re: [bug#72928] [PATCH v2] time-machine: Print profile path if no command is given.) Message-ID: References: <87cykcz16t.fsf@gnu.org> <9f9f76785a5f43b77eeff14d407c675876dffd61.1725198888.git.~@wolfsden.cz> X-Gnu-PR-Message: they-closed 72928 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 72928@debbugs.gnu.org Date: Mon, 07 Oct 2024 09:57:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1728295022-4970-1" This is a multi-part message in MIME format... ------------=_1728295022-4970-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #72928: [PATCH] time-machine: Print profile path if no command is given. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 72928@debbugs.gnu.org. --=20 72928: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D72928 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1728295022-4970-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 72928-done) by debbugs.gnu.org; 7 Oct 2024 09:56:57 +0000 Received: from localhost ([127.0.0.1]:44874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxkU4-0001HW-9s for submit@debbugs.gnu.org; Mon, 07 Oct 2024 05:56:56 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:50484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxkU2-0001HH-O4 for 72928-done@debbugs.gnu.org; Mon, 07 Oct 2024 05:56:55 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 1E66AE73; Mon, 7 Oct 2024 11:56:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2eenB4C1RLM7; Mon, 7 Oct 2024 11:56:11 +0200 (CEST) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 7172B20A; Mon, 7 Oct 2024 11:56:11 +0200 (CEST) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Tomas Volf <~@wolfsden.cz> Subject: Re: [bug#72928] [PATCH v2] time-machine: Print profile path if no command is given. In-Reply-To: <7f53e25ef8bb1415d73c577b8845195eb013f6c9.1728220987.git.~@wolfsden.cz> (Tomas Volf's message of "Sun, 6 Oct 2024 15:23:07 +0200") References: <9f9f76785a5f43b77eeff14d407c675876dffd61.1725198888.git.~@wolfsden.cz> <7f53e25ef8bb1415d73c577b8845195eb013f6c9.1728220987.git.~@wolfsden.cz> Date: Mon, 07 Oct 2024 11:56:10 +0200 Message-ID: <87cykcz16t.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 72928-done Cc: Josselin Poiret , Maxim Cournoyer , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , Florian Pelz , 72928-done@debbugs.gnu.org, Christopher Baines X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Tomas Volf <~@wolfsden.cz> writes: > Instead of warning, print the profile path of the cached-channel-instance. > > * guix/scripts/time-machine.scm (guix-time-machine)[not command-line]: Print > the profile directory. > (show-help): Adjust usage message. > * doc/guix.texi (Invoking guix time-machine): Document it. > > Change-Id: Id2c1ded514e6c5af45af9008ad1ef91beb509177 Applied, thanks! ------------=_1728295022-4970-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Sep 2024 13:56:13 +0000 Received: from localhost ([127.0.0.1]:35669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skl3s-0000Zg-Ic for submit@debbugs.gnu.org; Sun, 01 Sep 2024 09:56:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:44128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1skl3q-0000Za-KS for submit@debbugs.gnu.org; Sun, 01 Sep 2024 09:56: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 <~@wolfsden.cz>) id 1skl2s-0006eh-LG for guix-patches@gnu.org; Sun, 01 Sep 2024 09:55:10 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1skl2q-0007IT-E1 for guix-patches@gnu.org; Sun, 01 Sep 2024 09:55:10 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 4664126E8DB; Sun, 1 Sep 2024 13:55:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1725198905; bh=Nz8kKS943NHoVmE9IU+7u/5WuLij5oPE28A/GmrKIZI=; h=From:To:Cc:Subject:Date; b=MswLh/8qS9R/QwKFoOfqG+/VHaq60cu/wSLo3B/OdmGUEwO3f3y3bNhGv0gTr/F+M mnI8az7/HByvJNAu9h1W/UM78O4Jcnk3g9qaMCx+AJEJvm7VAsBrNMi+1+9+gGq8Nj pC7vGeuGKU+qmSxk1kVHFKpAYOI6jJg9jpTdoOLn0u3JysIW1zURj7HClQ43RmayF2 JJT0CfP9kudp2iWzPd7cgAhDF+jpbggxwSQIzkdIskK/wQgTIoaXeaCftcMpvcw2ka p+kfF1bebe5cTU61vg2rK2qd6sx0zSLmIXbQGZmgz0mukLiVag0VlwAuJAYLDdt2xi PqFt+645jqm7w8BrnIhgx2A1v/s/ftKC/0+9a5Ur3hs6shzSWIxbM/teIVJ+nMRWGN XGVsXPu6h22dcA1EF47siARdNR4PkOUZ9jJ6mhMYOlov2UssAb/VQWjyNCD4F+132e IZSNM0vnrf3C3WCrGZ/Ms6+vGrtv/E9NGlro+XJae+Pv9kPQkUJdu05NADZXnlIATV DyPvdmm1ps6RKNmXfoq0+0aD3gApRoNsADzYth38bNdHgkBomwWdGYE3Ywel8/OarZ pOtRCy4MyouhydUbXWYZYm3SVQM923rSpwDALO2CXGKBqRvn9KP2cQhmoombH8rm4e zN4gX/ReWmq1ZpheY2VUKEe0= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from localhost (unknown [193.32.127.157]) by wolfsden.cz (Postfix) with ESMTPSA id 0273426E97F; Sun, 1 Sep 2024 13:55:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1725198904; bh=Nz8kKS943NHoVmE9IU+7u/5WuLij5oPE28A/GmrKIZI=; h=From:To:Cc:Subject:Date; b=FSg1pAKr+h00zHwTRz8Wq4eceCtKxnINgby39EczVkUKhC/jYyCdWiQptJdAVeL6E P05fCktgs11xEiBUew/xXq7NqqrF2FySR+Nzv9ijcnAMav1sao6s+MaK7X0OFDzyPC q58lGMIy8EZtK8yphz5BqAYv/oqOmWYco5mrFPuDfI5xmYYwe85GwOIeDiM0/V7u1U 5j3UpjP/DXNxk0tEDorncYau/BbmQ1cSmQebYG1TeYdrwJCRLCpNlP5X5uNvRKG+2m avURV1EyF7Eafi7G6OkFUwQ0Ug7/ZruIOdeFrdj5fgR7yowXYU37CY04KJvcBx7ebN mPBOUawSGhw9F/otF2KF5cb9nDFeeJ2cMsrEtlWSIH/UHGjFtstPfftCd3pZRNchNH CtenGPcCDGjSM1RkJqigEGsjgIy9TNYOexIZt/jTEGNYxeXgq1ZTZwcuVck2KwZs/V tKpPiBSAa958yG6vVcRBjMOOUSBWP6sn27z4i3DBz05wEqc463vcKzQujs4E5EKRfT 9FA2S1SJTuGtTeqW/NSVBSf5QiMn98GvZCviMVG9a9bL104R5xsqgUGu5WTGfNCdBy gWs7pEbbYfjrSp4sRtvTLJqn1CO/4xweLWC17X1h3KRVEhp7NR+YDNL+wLKAayA03T DbVrmCOlLpZj0KZRViq0tMuM= From: Tomas Volf <~@wolfsden.cz> To: guix-patches@gnu.org Subject: [PATCH] time-machine: Print profile path if no command is given. Date: Sun, 1 Sep 2024 15:54:49 +0200 Message-ID: <9f9f76785a5f43b77eeff14d407c675876dffd61.1725198888.git.~@wolfsden.cz> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Debbugs-Cc: Christopher Baines , Josselin Poiret , Ludovic Courtès , Mathieu Othacehe , Simon Tournier , Tobias Geerinckx-Rice Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Tomas Volf <~@wolfsden.cz> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Instead of warning, print the profile path of the cached-channel-instance. * guix/scripts/time-machine.scm (guix-time-machine)[not command-line]: Print the profile directory. Change-Id: Id2c1ded514e6c5af45af9008ad1ef91beb509177 --- guix/scripts/time-machine.scm | 38 +++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/guix/scripts/time-machine.scm b/guix/scripts/time-machine.scm index d9ce85df84..8cad457ade 100644 --- a/guix/scripts/time-machine.scm +++ b/guix/scripts/time-machine.scm @@ -179,22 +179,22 @@ (define-command (guix-time-machine . args) (ref (assoc-ref opts 'ref)) (substitutes? (assoc-ref opts 'substitutes?)) (authenticate? (assoc-ref opts 'authenticate-channels?))) - (if command-line - (let* ((directory - (with-store store - (with-status-verbosity (assoc-ref opts 'verbosity) - (with-build-handler (build-notifier #:use-substitutes? - substitutes? - #:verbosity - (assoc-ref opts 'verbosity) - #:dry-run? #f) - (set-build-options-from-command-line store opts) - (cached-channel-instance store channels - #:authenticate? authenticate? - #:reference-channels - %reference-channels - #:validate-channels - validate-guix-channel))))) - (executable (string-append directory "/bin/guix"))) - (apply execl (cons* executable executable command-line))) - (warning (G_ "no command specified; nothing to do~%"))))))) + (let* ((directory + (with-store store + (with-status-verbosity (assoc-ref opts 'verbosity) + (with-build-handler (build-notifier #:use-substitutes? + substitutes? + #:verbosity + (assoc-ref opts 'verbosity) + #:dry-run? #f) + (set-build-options-from-command-line store opts) + (cached-channel-instance store channels + #:authenticate? authenticate? + #:reference-channels + %reference-channels + #:validate-channels + validate-guix-channel))))) + (executable (string-append directory "/bin/guix"))) + (if command-line + (apply execl (cons* executable executable command-line)) + (format #t "~a\n" directory))))))) base-commit: ef525ba96f04c6b3a5e45ab5333c9f440df81e5f -- 2.45.2 ------------=_1728295022-4970-1-- From unknown Fri Jun 20 07:18:34 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#72928] [PATCH v2] time-machine: Print profile path if no command is given. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Oct 2024 10:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72928 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf <~@wolfsden.cz> Cc: Josselin Poiret , Maxim Cournoyer , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , Florian Pelz , 72928-done@debbugs.gnu.org, Christopher Baines Received: via spool by 72928-done@debbugs.gnu.org id=D72928.17282951695246 (code D ref 72928); Mon, 07 Oct 2024 10:00:03 +0000 Received: (at 72928-done) by debbugs.gnu.org; 7 Oct 2024 09:59:29 +0000 Received: from localhost ([127.0.0.1]:44890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxkWW-0001MX-PP for submit@debbugs.gnu.org; Mon, 07 Oct 2024 05:59:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxkWU-0001MK-SF for 72928-done@debbugs.gnu.org; Mon, 07 Oct 2024 05:59:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sxkWH-0006hA-3t; Mon, 07 Oct 2024 05:59:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=1xlTjPqzAaz/gV90jIjJPQmOHe7PB3pZYF5xG3SqYwU=; b=gUo+SXXALY9wjtBGeHLx hlMOhp8Tcs5a0ZdT/TKwUE5qKmGnYjsOZTD4mofRhcwBAKguWvB2TmqdBUZmscemepfEWl8pJmOhT THMtM9nqGSeIASYgIIDEtvYiIeCRvDoJk6zMd7UpOKqV3/6IPIhU6lhsM1Q+u5h1XXD+n98c8mcT7 E4SEweLbX2fON92KCGb63LbDIKYKZvkHXfSVh9X/MirNIRpMHLxU6ma6nwTATbE/z85lhFqeU7C6u QI/Padqt7bKVcKDxcoKgH2+/5lpt92/1kUmDmzonKSWi++f+TJ2PX/JVFoJ5i1aZAf6WksYTl2rVH 3prAc57nuxNSxA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <7f53e25ef8bb1415d73c577b8845195eb013f6c9.1728220987.git.~@wolfsden.cz> (Tomas Volf's message of "Sun, 6 Oct 2024 15:23:07 +0200") References: <9f9f76785a5f43b77eeff14d407c675876dffd61.1725198888.git.~@wolfsden.cz> <7f53e25ef8bb1415d73c577b8845195eb013f6c9.1728220987.git.~@wolfsden.cz> Date: Mon, 07 Oct 2024 11:59:09 +0200 Message-ID: <878qv0z11u.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Tomas Volf <~@wolfsden.cz> skribis: > Instead of warning, print the profile path of the cached-channel-instance. > > * guix/scripts/time-machine.scm (guix-time-machine)[not command-line]: Pr= int > the profile directory. > (show-help): Adjust usage message. > * doc/guix.texi (Invoking guix time-machine): Document it. > > Change-Id: Id2c1ded514e6c5af45af9008ad1ef91beb509177 Applied, thanks! I took the liberty to make the cosmetic changes below to be consistent with the style and terminology used throughout the manual. Thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/doc/guix.texi b/doc/guix.texi index e643aec19a..4aafcf9cc0 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -4763,9 +4763,9 @@ Invoking guix time-machine options (@pxref{Common Build Options}). If @command{guix time-machine} is executed without any command, it -prints the path to the guix profile that would be used to execute the -command. This is sometimes useful if you need to get store path for the -profile, e.g. when you want to @command{guix copy} it. +prints the file name of the profile that would be used to execute the +command. This is sometimes useful if you need to get store file name of +the profile---e.g., when you want to @command{guix copy} it. @node Inferiors @section Inferiors --=-=-=--