From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iNMhCniQ1l72ewAA0tVLHw (envelope-from ) for ; Tue, 02 Jun 2020 17:46:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iK3sBXiQ1l5JTgAAbx9fmQ (envelope-from ) for ; Tue, 02 Jun 2020 17:46:32 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B194D940276 for ; Tue, 2 Jun 2020 17:46:31 +0000 (UTC) Received: from localhost ([::1]:50992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgAze-0006A4-HS for larch@yhetil.org; Tue, 02 Jun 2020 13:46:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgAzC-00067z-32 for bug-guix@gnu.org; Tue, 02 Jun 2020 13:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57543) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jgAzB-0007cf-Ol for bug-guix@gnu.org; Tue, 02 Jun 2020 13:46:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jgAzB-0003R5-MZ for bug-guix@gnu.org; Tue, 02 Jun 2020 13:46:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41666: $INFOPATH should end with a colon Resent-From: Jonas Bernoulli Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 02 Jun 2020 17:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41666 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41666@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159111995013187 (code B ref -1); Tue, 02 Jun 2020 17:46:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jun 2020 17:45:50 +0000 Received: from localhost ([127.0.0.1]:40856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgAz0-0003Qd-E4 for submit@debbugs.gnu.org; Tue, 02 Jun 2020 13:45:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:52554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgAyz-0003QW-8B for submit@debbugs.gnu.org; Tue, 02 Jun 2020 13:45:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgAyz-0005oo-0a for bug-guix@gnu.org; Tue, 02 Jun 2020 13:45:49 -0400 Received: from mail.hostpark.net ([212.243.197.30]:54426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgAyy-0007WO-0N for bug-guix@gnu.org; Tue, 02 Jun 2020 13:45:48 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 29621167AC for ; Tue, 2 Jun 2020 19:45:43 +0200 (CEST) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail1.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id 3LQM1FIKJP9y for ; Tue, 2 Jun 2020 19:45:14 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 2A68D167BD for ; Tue, 2 Jun 2020 19:44:18 +0200 (CEST) From: Jonas Bernoulli Date: Tue, 02 Jun 2020 19:44:17 +0200 Message-ID: <87eeqxxszy.fsf@bernoul.li> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=212.243.197.30; envelope-from=jonas@bernoul.li; helo=mail.hostpark.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/02 13:45:43 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: nnnIbOQgi70S On a foreign distro Guix installs /etc/profile.d/guix.sh, which among other things adds the directory where it installs info pages to the INFOPATH variable. It takes care to not accidentally cause the value to end with a colon. Unfortunately it should do the opposite because a trailing colon means "... and also the default locations", which is highly desirable. This is documented in (info "(texinfo)Other Info Directories"): > However you set 'INFOPATH', if its last character is a colon (on > MS-DOS/MS-Windows systems, use a semicolon instead), this is replaced by > the default (compiled-in) path. This gives you a way to augment the > default path with new directories without having to list all the > standard places. For example (using 'sh' syntax): > > INFOPATH=/home/bob/info: > export INFOPATH > > will search '/home/bob/info' first, then the standard directories. > Leading or doubled colons are not treated specially. I recommend you just make this simple change: - export INFOPATH="$_GUIX_PROFILE/share/info${INFOPATH:+:}$INFOPATH" + export INFOPATH="$_GUIX_PROFILE/share/info$:$INFOPATH" If INFOPATH is already set and does not end with a colon, then that should be left as-is; it might be intentional.