From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: /etc/profile and .zshrc skeleton Date: Sun, 07 Dec 2014 21:35:48 +0100 Message-ID: <87sigrmc4b.fsf@gnu.org> References: <87k32gtz2p.fsf@gmail.com> <874mtafbcw.fsf@gmail.com> <87bnngtnhw.fsf_-_@gnu.org> <87sigs85nq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxiYl-0005AK-OS for guix-devel@gnu.org; Sun, 07 Dec 2014 15:36:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XxiYf-0006PR-Sa for guix-devel@gnu.org; Sun, 07 Dec 2014 15:36:03 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:46528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxiYf-0006PH-M3 for guix-devel@gnu.org; Sun, 07 Dec 2014 15:35:57 -0500 In-Reply-To: <87sigs85nq.fsf@gmail.com> (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Sun, 07 Dec 2014 12:06:49 +0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org =E5=AE=8B=E6=96=87=E6=AD=A6 skribis: > Ludovic Court=C3=A8s writes: >> One last thing: I think CPATH and LIBRARY_PATH (and eventually >> additional search path variables) should remain in /etc/profile. > I'll prefer use `guix environment' for dev, just install applications to > profile. I agree that =E2=80=98guix environment=E2=80=99 is usually the preferred ap= proach. Yet, I thought it may be better to keep the other approach working out of the box by default, to avoid unnecessary user frustration. Thinking more, there are a number of other search path environment variables that would be candidate for /etc/profile: GUILE_LOAD_PATH, PKG_CONFIG_PATH, MANPATH, PERL5LIB, etc. But perhaps some of them are better left handled by the user? How would we draw the line between those that /etc/profile defines by default, and those that users have to define by themselves? Thanks, Ludo=E2=80=99.