all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: sirgazil <sirgazil@zoho.com>
Cc: 35590 <35590@debbugs.gnu.org>
Subject: bug#35590: Emacs info can't open info manuals
Date: Mon, 06 May 2019 11:07:36 -0400	[thread overview]
Message-ID: <87pnov7h9o.fsf@netris.org> (raw)
In-Reply-To: <16a8cfcf41c.bb7782d745647.2385579755453444834@zoho.com> (sirgazil@zoho.com's message of "Mon, 06 May 2019 06:52:28 -0500")

Hi,

sirgazil <sirgazil@zoho.com> writes:

> M-x getenv PATH RET shows "bin"s in other paths, but not "/bin":
>
> /gnu/store/hk4f641r18vpj44m42pny6rp1nwg3d4w-glib-2.56.3-bin/bin:/home/sirgazil/.guix-profile/bin:/home/sirgazil/.guix-profile/sbin:/run/setuid-programs:/home/sirgazil/.config/guix/current/bin:/home/sirgazil/.guix-profile/bin:/home/sirgazil/.guix-profile/sbin:/run/current-system/profile/bin:/run/current-system/profile/sbin

My first thought was "Why isn't /bin in your PATH?", but actually I see
that /bin isn't in my PATH either, but that doesn't matter because
'bash' is installed in my system profile, which means that I have 'sh'
in /run/current-system/profile/bin.

You should too, but apparently you don't.

'bash' is included in %base-packages, which should normally be included
in your 'packages' field of your OS config.  It should look something
like this:

  ;; This is where we specify system-wide packages.
  (packages (append (list
                     ;; your added
                     ;; packages here
                     )
                    %base-packages))

If you don't include %base-packages in your system profile, you are
likely to run into problems.  Several of the packages in there could be
safely deleted, but some of them, including 'sh', are widely assumed to
always be in PATH.

If you want to remove a few programs from %base-packages, I recommend
doing something like this:

  ;; This is where we specify system-wide packages.
  (packages (append (list
                     ;; your added
                     ;; packages here
                     )
                    (fold delete %base-packages (list sudo nano))))

Note that 'fold' is in (srfi srfi-1), so you'll need to import it in
your OS config file if you use it.

       Mark

  reply	other threads:[~2019-05-06 15:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-05 20:10 bug#35590: Emacs info can't open info manuals sirgazil
2019-05-06  2:26 ` Mark H Weaver
2019-05-06 11:52   ` sirgazil
2019-05-06 15:07     ` Mark H Weaver [this message]
2019-05-06 16:14       ` sirgazil
2019-05-06 18:00 ` sirgazil

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=87pnov7h9o.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=35590@debbugs.gnu.org \
    --cc=sirgazil@zoho.com \
    /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.