all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arnaud Daby-Seesaram <ds-ac@nanein.fr>
To: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: help-guix@gnu.org
Subject: Re: Installing info manuals without cluttering my profile.
Date: Thu, 17 Oct 2024 09:57:20 +0200	[thread overview]
Message-ID: <8734kvuppb.fsf@nanein.fr> (raw)
In-Reply-To: <0BBFF826-0201-4DFE-A020-0B2FDFF33218@tobias.gr> (Tobias Geerinckx-Rice's message of "Wed, 16 Oct 2024 18:33:06 +0000")

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

Hi Tobias,

> I have a very superficial understanding of Texinfo, but I thought it relied on 'directory' files and not just collections of raw .info files.  In Guix, these are generated by a profile hook.
>
> From <https://www.gnu.org/software/texinfo/manual/texinfo/html_node/Other-Info-Directories.html>:
>
>> The standalone Info reader merges any files named dir in any directory listed in the INFOPATH variable into a single menu presented to you in the node called ‘(dir)Top’.

Thank you; this is what I was missing.

> All I know is that there is no 'dir' file in $(guix build emacs)/share/info.  I think that a package shipping one directly would be wrong.
>
> Were I in your position, I would not manually mess around with environment variables (which is also 'clobbering' your main environment!), but instead maintain a separate Guix profile for my info manuals.

Reading parts of `guix/profiles.scm', it seems that 'dir' files are
built using install-info in `(guix profiles)', e.g. to build
`.guix-home/profile/share/info/dir' (I use `guix home').

As a temporary solution, I have made a 'dir' file for my use case, and
made sure that Emacs would find referenced manuals.

I will later make a separate profile for this, thank you for the
suggestion.


Best regards,

-- 
Arnaud

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 857 bytes --]

      parent reply	other threads:[~2024-10-17  7:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-16  8:26 Installing info manuals without cluttering my profile Arnaud Daby-Seesaram
2024-10-16 18:33 ` Tobias Geerinckx-Rice
2024-10-16 18:39   ` Tobias Geerinckx-Rice
2024-10-17  7:57   ` Arnaud Daby-Seesaram [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8734kvuppb.fsf@nanein.fr \
    --to=ds-ac@nanein.fr \
    --cc=help-guix@gnu.org \
    --cc=me@tobias.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.