unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: "Thompson, David" <dthompson2@worcester.edu>
Cc: 22402@debbugs.gnu.org
Subject: bug#22402: info guix pages
Date: Tue, 19 Jan 2016 17:02:34 -0500	[thread overview]
Message-ID: <20160119220234.GA4641@jasmine> (raw)
In-Reply-To: <CAJ=Rwfbwe1D6+j_52=kfNA4jX5+zf8b78Ek4F1P0Bu_YgmttXA@mail.gmail.com>

On Tue, Jan 19, 2016 at 12:17:32PM -0500, Thompson, David wrote:
> On Tue, Jan 19, 2016 at 4:34 AM, carl hansen <carlhansen1234@gmail.com> wrote:
> >
> > Yes, that is the case, there is no mystery, there is indeed a
> >  /root/.guix-profile/share/info/guix.info
> > and there is NOT a
> > ~user/.guix-profile/share/info/guix.info
> >
> > However I consider that a bug. Here I am a user, using guix, and I expect
> > "info guix" to work. Why would the user have to switch to root just to read
> > this one info file? After installing guix,  I would expect guix.info to be
> > in my defalt .guix-profile, or a least a notice of how to install
> > guix.info. ( coping and linking I know how to do, that's not the problem.
> > It's a question
> > of creating a polished piece of software.) Would "guix package -i guix" do
> > the right thing?
> > That seems all wrong, would install stuff I already have.
> 
> I think you need to adjust your expectations.  You only have Guix
> available *in the root user's profile*.  Each user has their own
> package profile, so running 'guix package -i guix' as your regular
> user is exactly what you want.  Why would you expect the system to
> magically read the info pages out of root's profile?  It's not
> installing stuff you already have because your user *didn't* have it.
> So, install the Guix package and set $INFOPATH to include
> $HOME/.guix-profile/share/info.
> 
> Ludo, to avoid this confusion in the future, perhaps the binary
> installation instructions for folks on foreign distros could have an
> additional instruction.  After symlinking root's guix to
> /usr/local/bin/guix, the documentation could suggest  symlinking the
> docs to /usr/local/share/info.  Would that help?

I only just realized that I have been using root's `guix` as my user,
because I have been relying on the `guix` in '/usr/local/bin'. I like
Efraim's suggestion of instructing users to `guix package -i guix`.

> 
> - Dave
> 
> 
> 

  reply	other threads:[~2016-01-19 22:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-18 23:43 bug#22402: info guix pages carl hansen
2016-01-19  1:47 ` Leo Famulari
2016-01-19  3:55   ` carl hansen
2016-01-19  9:01     ` Ludovic Courtès
2016-01-19  9:34       ` carl hansen
2016-01-19 10:45         ` Ludovic Courtès
2016-01-19 16:42           ` Efraim Flashner
2016-01-19 17:17         ` Thompson, David
2016-01-19 22:02           ` Leo Famulari [this message]
2016-01-20  0:45             ` carl hansen
2016-01-20  4:24               ` Leo Famulari
2016-01-21  1:26                 ` carl hansen
2016-01-21  3:21                   ` Leo Famulari
2016-01-20 23:23           ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20160119220234.GA4641@jasmine \
    --to=leo@famulari.name \
    --cc=22402@debbugs.gnu.org \
    --cc=dthompson2@worcester.edu \
    /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 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).