From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Wingo Subject: Duplicate entries in $profile/etc/profile Date: Mon, 10 Aug 2015 11:40:02 +0200 Message-ID: <871tfbpjm5.fsf@igalia.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOjYw-0004tj-5j for guix-devel@gnu.org; Mon, 10 Aug 2015 05:40:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZOjYs-0004aK-Vg for guix-devel@gnu.org; Mon, 10 Aug 2015 05:40:10 -0400 Received: from pb-sasl1.int.icgroup.com ([208.72.237.25]:59149 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOjYs-0004Y3-QK for guix-devel@gnu.org; Mon, 10 Aug 2015 05:40:06 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 96CFE62406 for ; Mon, 10 Aug 2015 05:40:05 -0400 (EDT) Received: from pb-sasl1.int.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 7C8A562404 for ; Mon, 10 Aug 2015 05:40:05 -0400 (EDT) Received: from rusty (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 8E5AD62402 for ; Mon, 10 Aug 2015 05:40:04 -0400 (EDT) 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: guix-devel@gnu.org Hi, With this manifest: (use-package-modules gcc llvm base python version-control less ccache) (packages->manifest (list clang coreutils diffutils findutils tar patch sed grep binutils glibc glibc-locales which gnu-make python-2 git less libstdc++-4.9 gcc-4.9 (list gcc-4.9 "lib") ccache)) If I install these packages via: guix package -p ~/profiles/v8 -m ~/profiles/v8.scm And then: cat ~/profiles/v8/etc/profile I get: # Source this file to define all the relevant environment variables in Bash # for this profile. You may want to define the 'GUIX_PROFILE' environment # variable to point to the "visible" name of the profile, like this: # # GUIX_PROFILE=/path/to/profile # source /path/to/profile/etc/profile # # When GUIX_PROFILE is undefined, the various environment variables refer # to this specific profile generation. export PATH="${GUIX_PROFILE:-/gnu/store/v18xavw7q79rbg0ly697d7q5as785rir-profile}/bin:${GUIX_PROFILE:-/gnu/store/v18xavw7q79rbg0ly697d7q5as785rir-profile}/sbin${PATH:+:}$PATH" export CPATH="${GUIX_PROFILE:-/gnu/store/v18xavw7q79rbg0ly697d7q5as785rir-profile}/include${CPATH:+:}$CPATH" export LIBRARY_PATH="${GUIX_PROFILE:-/gnu/store/v18xavw7q79rbg0ly697d7q5as785rir-profile}/lib${LIBRARY_PATH:+:}$LIBRARY_PATH" export LOCPATH="${GUIX_PROFILE:-/gnu/store/v18xavw7q79rbg0ly697d7q5as785rir-profile}/lib/locale${LOCPATH:+:}$LOCPATH" export PYTHONPATH="${GUIX_PROFILE:-/gnu/store/v18xavw7q79rbg0ly697d7q5as785rir-profile}/lib/python2.7/site-packages${PYTHONPATH:+:}$PYTHONPATH" export CPATH="${GUIX_PROFILE:-/gnu/store/v18xavw7q79rbg0ly697d7q5as785rir-profile}/include${CPATH:+:}$CPATH" export LIBRARY_PATH="${GUIX_PROFILE:-/gnu/store/v18xavw7q79rbg0ly697d7q5as785rir-profile}/lib${LIBRARY_PATH:+:}$LIBRARY_PATH" export CPATH="${GUIX_PROFILE:-/gnu/store/v18xavw7q79rbg0ly697d7q5as785rir-profile}/include${CPATH:+:}$CPATH" export LIBRARY_PATH="${GUIX_PROFILE:-/gnu/store/v18xavw7q79rbg0ly697d7q5as785rir-profile}/lib${LIBRARY_PATH:+:}$LIBRARY_PATH" export CPATH="${GUIX_PROFILE:-/gnu/store/v18xavw7q79rbg0ly697d7q5as785rir-profile}/include${CPATH:+:}$CPATH" export LIBRARY_PATH="${GUIX_PROFILE:-/gnu/store/v18xavw7q79rbg0ly697d7q5as785rir-profile}/lib${LIBRARY_PATH:+:}$LIBRARY_PATH" Which obviously includes three identical copies of CPATH and LIBRARY_PATH. What's up with that? Andy