From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#35590: Emacs info can't open info manuals Date: Mon, 06 May 2019 11:07:36 -0400 Message-ID: <87pnov7h9o.fsf@netris.org> References: <16a899ec3b8.f11d457e39475.3520016243872384490@zoho.com> <87lfzkqpwd.fsf@netris.org> <16a8cfcf41c.bb7782d745647.2385579755453444834@zoho.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:60366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNfFj-0002h0-Rd for bug-guix@gnu.org; Mon, 06 May 2019 11:10:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNfFi-0004Qu-Rc for bug-guix@gnu.org; Mon, 06 May 2019 11:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43670) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hNfFi-0004Qh-O7 for bug-guix@gnu.org; Mon, 06 May 2019 11:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hNfFi-000154-Ba for bug-guix@gnu.org; Mon, 06 May 2019 11:10:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <16a8cfcf41c.bb7782d745647.2385579755453444834@zoho.com> (sirgazil@zoho.com's message of "Mon, 06 May 2019 06:52:28 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: sirgazil Cc: 35590 <35590@debbugs.gnu.org> Hi, sirgazil 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