unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: bug-guix@gnu.org
Subject: Re: Search paths
Date: Sun, 28 Apr 2013 23:44:51 +0200	[thread overview]
Message-ID: <87zjwifhyk.fsf@gnu.org> (raw)
In-Reply-To: <87hajsa6ap.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 30 Mar 2013 23:09:34 +0100")

ludo@gnu.org (Ludovic Courtès) skribis:

> Commit a18eda2 in ‘core-updates’ adds the ‘native-search-paths’ field
> for packages, and honor it.  The next commit gives an example of how to
> use it.

With commit 5924080, ‘guix package --install’ reports environment
variables that needs to be defined, using information from
‘native-search-paths’.

For example, if you install GCC and a C library, it will tell you to set
CPATH=$HOME/.guix-profile/include and
LIBRARY_PATH=$HOME/.guix-profile/lib, unless the environment variables
are already defined appropriately.

Also, ‘guix package --search-paths’ lists environment variables that
need to be defined, regardless of their current value.

Hopefully that will help avoid common mistakes when using Guix.

Comments welcome!

Ludo’.

      reply	other threads:[~2013-04-28 21:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-30 22:09 Search paths Ludovic Courtès
2013-04-28 21:44 ` Ludovic Courtès [this message]

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=87zjwifhyk.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=bug-guix@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).