all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Duplicate entries in $profile/etc/profile
@ 2015-08-10  9:40 Andy Wingo
  2015-08-20 17:16 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Wingo @ 2015-08-10  9:40 UTC (permalink / raw)
  To: guix-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-20 17:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-10  9:40 Duplicate entries in $profile/etc/profile Andy Wingo
2015-08-20 17:16 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.