bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Search paths


From: Ludovic Courtès
Subject: Re: Search paths
Date: Sun, 28 Apr 2013 23:44:51 +0200
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.3 (gnu/linux)

address@hidden (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 via email to

[Prev in Thread] Current Thread [Next in Thread]