unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#35004] Docs refer to $HOME/.guix-profile instead of $GUIX_PROFILE
@ 2019-03-26 15:28 Joshua Randall
  2019-03-26 16:31 ` [bug#35004] [PATCH] DRY manual reference to HOME/.guix-profile josh.randall
  2021-01-11 14:21 ` [bug#35004] [PATCH] doc: Fix typo zimoun
  0 siblings, 2 replies; 4+ messages in thread
From: Joshua Randall @ 2019-03-26 15:28 UTC (permalink / raw)
  To: 35004

[-- Attachment #1: Type: text/plain, Size: 500 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 653 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#35004] [PATCH] DRY manual reference to HOME/.guix-profile
  2019-03-26 15:28 [bug#35004] Docs refer to $HOME/.guix-profile instead of $GUIX_PROFILE Joshua Randall
@ 2019-03-26 16:31 ` josh.randall
  2021-01-11 14:21 ` [bug#35004] [PATCH] doc: Fix typo zimoun
  1 sibling, 0 replies; 4+ messages in thread
From: josh.randall @ 2019-03-26 16:31 UTC (permalink / raw)
  To: jcrandall, 35004

From: "Joshua C. Randall" <jcrandall@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@genomicsplc.com 
<mailto:info@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.

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#35004] [PATCH] doc: Fix typo.
  2019-03-26 15:28 [bug#35004] Docs refer to $HOME/.guix-profile instead of $GUIX_PROFILE Joshua Randall
  2019-03-26 16:31 ` [bug#35004] [PATCH] DRY manual reference to HOME/.guix-profile josh.randall
@ 2021-01-11 14:21 ` zimoun
  2021-01-19 10:57   ` bug#35004: " Mathieu Othacehe
  1 sibling, 1 reply; 4+ messages in thread
From: zimoun @ 2021-01-11 14:21 UTC (permalink / raw)
  To: 35004; +Cc: Joshua C. Randall

From: "Joshua C. Randall" <jcrandall@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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#35004: [PATCH] doc: Fix typo.
  2021-01-11 14:21 ` [bug#35004] [PATCH] doc: Fix typo zimoun
@ 2021-01-19 10:57   ` Mathieu Othacehe
  0 siblings, 0 replies; 4+ messages in thread
From: Mathieu Othacehe @ 2021-01-19 10:57 UTC (permalink / raw)
  To: zimoun; +Cc: 35004-done, Joshua C. Randall


> * doc/guix.texi (Invoking guix package): Fix typo.

Pushed, thanks!

Mathieu




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-19 10:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-26 15:28 [bug#35004] Docs refer to $HOME/.guix-profile instead of $GUIX_PROFILE Joshua Randall
2019-03-26 16:31 ` [bug#35004] [PATCH] DRY manual reference to HOME/.guix-profile josh.randall
2021-01-11 14:21 ` [bug#35004] [PATCH] doc: Fix typo zimoun
2021-01-19 10:57   ` bug#35004: " Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).