[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Duplicate entries in $profile/etc/profile
From: |
Andy Wingo |
Subject: |
Duplicate entries in $profile/etc/profile |
Date: |
Mon, 10 Aug 2015 11:40:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
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
- Duplicate entries in $profile/etc/profile,
Andy Wingo <=