GNU bug report logs - #35004
Docs refer to $HOME/.guix-profile instead of $GUIX_PROFILE

Previous Next

Package: guix-patches;

Reported by: Joshua Randall <jcrandall <at> alum.mit.edu>

Date: Tue, 26 Mar 2019 15:30:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35004 in the body.
You can then email your comments to 35004 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#35004; Package guix-patches. (Tue, 26 Mar 2019 15:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Joshua Randall <jcrandall <at> alum.mit.edu>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 26 Mar 2019 15:30:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Joshua Randall <jcrandall <at> alum.mit.edu>
To: guix-patches <at> gnu.org
Subject: Docs refer to $HOME/.guix-profile instead of $GUIX_PROFILE
Date: Tue, 26 Mar 2019 15:28:29 +0000
[Message part 1 (text/plain, inline)]
Section 3.2 of the manual gives an example of how a user can source their
guix profile script. In the example, the GUIX_PROFILE environment variable
it set, but then in the subsequent command, it is unused.

This seems unnecessarily repetitive, and also potentially misleading if it
is in fact important that when the etc/profile is sourced, GUIX_PROFILE is
set to the directory under which it exists.

I would suggest that the second line would refer to $GUIX_PROFILE instead
of $HOME/.guix-profile
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#35004; Package guix-patches. (Tue, 26 Mar 2019 22:21:03 GMT) Full text and rfc822 format available.

Message #8 received at 35004 <at> debbugs.gnu.org (full text, mbox):

From: josh.randall <at> genomicsplc.com
To: jcrandall <at> alum.mit.edu,
	35004 <at> debbugs.gnu.org
Subject: [PATCH] DRY manual reference to HOME/.guix-profile
Date: Tue, 26 Mar 2019 16:31:29 +0000
From: "Joshua C. Randall" <jcrandall <at> alum.mit.edu>

---
 doc/guix.de.texi | 2 +-
 doc/guix.fr.texi | 2 +-
 doc/guix.texi    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/guix.de.texi b/doc/guix.de.texi
index 83dae0d3ec..faa9880fe6 100644
--- a/doc/guix.de.texi
+++ b/doc/guix.de.texi
@@ -2775,7 +2775,7 @@ definiert werden:
 
 @example
 GUIX_PROFILE="$HOME/.guix-profile" ; \
-source "$HOME/.guix-profile/etc/profile"
+source "$GUIX_PROFILE/etc/profile"
 @end example
 
 Ist Ihr System für mehrere Nutzer eingerichtet, werden Nutzerprofile an
diff --git a/doc/guix.fr.texi b/doc/guix.fr.texi
index 541fd6f0d0..407dd02375 100644
--- a/doc/guix.fr.texi
+++ b/doc/guix.fr.texi
@@ -2714,7 +2714,7 @@ ensuite aient les bonnes définitions des variables d'environnement :
 
 @example
 GUIX_PROFILE="$HOME/.guix-profile" ; \
-source "$HOME/.guix-profile/etc/profile"
+source "$GUIX_PROFILE/etc/profile"
 @end example
 
 Dans un environnement multi-utilisateur, les profils utilisateurs sont
diff --git a/doc/guix.texi b/doc/guix.texi
index 7d80c00530..c4675a5b95 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -2650,7 +2650,7 @@ shells get all the right environment variable definitions:
 
 @example
 GUIX_PROFILE="$HOME/.guix-profile" ; \
-source "$HOME/.guix-profile/etc/profile"
+source "$GUIX_PROFILE/etc/profile"
 @end example
 
 In a multi-user setup, user profiles are stored in a place registered as
-- 
2.19.2


-- 
This email is sent on behalf of Genomics plc, a public limited company 
registered in England and Wales with registered number 8839972, VAT 
registered number 189 2635 65 and registered office at King Charles House, 
Park End Street, Oxford, OX1 1JD, United Kingdom.



The contents of this 
e-mail and any attachments are confidential
 to the intended recipient. If 
you are not the intended recipient please
 do not use or publish its 
contents, contact Genomics plc immediately at info <at> genomicsplc.com 
<mailto:info <at> genomicsplc.com> then delete. You may not copy, 
forward, use 
or disclose the contents of this email to anybody else if 
you are not the 
intended recipient. Emails are not secure and may contain viruses.




Information forwarded to guix-patches <at> gnu.org:
bug#35004; Package guix-patches. (Mon, 11 Jan 2021 14:23:01 GMT) Full text and rfc822 format available.

Message #11 received at 35004 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: 35004 <at> debbugs.gnu.org
Cc: "Joshua C. Randall" <jcrandall <at> alum.mit.edu>
Subject: [PATCH] doc: Fix typo.
Date: Mon, 11 Jan 2021 15:21:48 +0100
From: "Joshua C. Randall" <jcrandall <at> alum.mit.edu>

Fixes <http://bugs.gnu.org/35004>.

* doc/guix.texi (Invoking guix package): Fix typo.
---
 doc/guix.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index b3447a169f..ceccc04356 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -3077,7 +3077,7 @@ shells get all the right environment variable definitions:
 
 @example
 GUIX_PROFILE="$HOME/.guix-profile" ; \
-source "$HOME/.guix-profile/etc/profile"
+source "$GUIX_PROFILE/etc/profile"
 @end example
 
 In a multi-user setup, user profiles are stored in a place registered as

base-commit: 8152fd1af551f4bcec2ef59243264c10ff48daea
-- 
2.29.2





Added tag(s) patch. Request was from zimoun <zimon.toutoune <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 19 Jan 2021 10:02:02 GMT) Full text and rfc822 format available.

Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Tue, 19 Jan 2021 10:58:02 GMT) Full text and rfc822 format available.

Notification sent to Joshua Randall <jcrandall <at> alum.mit.edu>:
bug acknowledged by developer. (Tue, 19 Jan 2021 10:58:02 GMT) Full text and rfc822 format available.

Message #18 received at 35004-done <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 35004-done <at> debbugs.gnu.org, "Joshua C. Randall" <jcrandall <at> alum.mit.edu>
Subject: Re: [bug#35004] [PATCH] doc: Fix typo.
Date: Tue, 19 Jan 2021 11:57:50 +0100
> * doc/guix.texi (Invoking guix package): Fix typo.

Pushed, thanks!

Mathieu




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 16 Feb 2021 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 40 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.