GNU bug report logs - #70798
[PATCH] guix-install.sh: add ~/.guix-profile/share/info to INFOPATH

Previous Next

Package: guix-patches;

Reported by: Trevor Arjeski <tmarjeski <at> gmail.com>

Date: Mon, 6 May 2024 07:11:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Trevor Arjeski <tmarjeski <at> gmail.com>
Subject: bug#70798: closed (Re: [bug#70798] [PATCH] guix-install.sh: add
 ~/.guix-profile/share/info to INFOPATH)
Date: Sun, 02 Jun 2024 09:41:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#70798: [PATCH] guix-install.sh: add ~/.guix-profile/share/info to INFOPATH

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 70798 <at> debbugs.gnu.org.

-- 
70798: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70798
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Trevor Arjeski <tmarjeski <at> gmail.com>
Cc: 70798-done <at> debbugs.gnu.org
Subject: Re: [bug#70798] [PATCH] guix-install.sh: add
 ~/.guix-profile/share/info to INFOPATH
Date: Sun, 02 Jun 2024 11:40:33 +0200
Hi,

Trevor Arjeski <tmarjeski <at> gmail.com> skribis:

> Adding ~/.guix-profile/share/info to the INFOPATH env var so that when a user
> does `guix install [package]` that package's info pages can be found.

I tweaked the commit log and applied it, thanks!

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Trevor Arjeski <tmarjeski <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Trevor Arjeski <tmarjeski <at> gmail.com>
Subject: [PATCH] guix-install.sh: add ~/.guix-profile/share/info to INFOPATH
Date: Mon,  6 May 2024 09:00:59 +0300
Adding ~/.guix-profile/share/info to the INFOPATH env var so that when a user
does `guix install [package]` that package's info pages can be found.
---
 etc/guix-install.sh | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 82accfd5d55..4e268a52d60 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -626,11 +626,6 @@ export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
 # _GUIX_PROFILE: `guix pull` profile
 _GUIX_PROFILE="$HOME/.config/guix/current"
 export PATH="$_GUIX_PROFILE/bin${PATH:+:}$PATH"
-# Export INFOPATH so that the updated info pages can be found
-# and read by both /usr/bin/info and/or $GUIX_PROFILE/bin/info
-# When INFOPATH is unset, add a trailing colon so that Emacs
-# searches 'Info-default-directory-list'.
-export INFOPATH="$_GUIX_PROFILE/share/info:$INFOPATH"
 
 # GUIX_PROFILE: User's default profile and home profile
 GUIX_PROFILE="$HOME/.guix-profile"
@@ -638,6 +633,12 @@ GUIX_PROFILE="$HOME/.guix-profile"
 [ -L "$GUIX_PROFILE" ] && \
 GUIX_LOCPATH="$GUIX_PROFILE/lib/locale${GUIX_LOCPATH:+:}$GUIX_LOCPATH"
 
+# Export INFOPATH so that the updated info pages can be found
+# and read by both /usr/bin/info and/or $GUIX_PROFILE/bin/info
+# When INFOPATH is unset, add a trailing colon so that Emacs
+# searches 'Info-default-directory-list'.
+export INFOPATH="$_GUIX_PROFILE/share/info:$GUIX_PROFILE/share/info:$INFOPATH"
+
 GUIX_PROFILE="$HOME/.guix-home/profile"
 [ -f "$GUIX_PROFILE/etc/profile" ] && . "$GUIX_PROFILE/etc/profile"
 [ -L "$GUIX_PROFILE" ] && \
-- 
2.43.2




This bug report was last modified 355 days ago.

Previous Next


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