unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andy Wingo <wingo@igalia.com>
To: guix-devel@gnu.org
Subject: Duplicate entries in $profile/etc/profile
Date: Mon, 10 Aug 2015 11:40:02 +0200	[thread overview]
Message-ID: <871tfbpjm5.fsf@igalia.com> (raw)

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

             reply	other threads:[~2015-08-10  9:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-10  9:40 Andy Wingo [this message]
2015-08-20 17:16 ` Duplicate entries in $profile/etc/profile Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871tfbpjm5.fsf@igalia.com \
    --to=wingo@igalia.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).