guix-devel
[Top][All Lists]
Advanced

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

Re: [DOUBT]: native-search-paths VS search-paths


From: Raghav Gururajan
Subject: Re: [DOUBT]: native-search-paths VS search-paths
Date: Tue, 9 Feb 2021 05:15:42 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Icedove/78.7.1

Hi Leo!

Both search-paths and native-search-paths are expanded in a build
environment to form an environment variable.  search-paths works on
inputs whereas native-search-paths works on native-inputs.  In
addition, native-search-paths also end up in your
$GUIX_PROFILE/etc/profile.

So it is like how "PATH" is established inside build environment?

Also, are they useful only to the package itself or to other
packages
that depend on it as well?
Depends on the package.  If it gets propagated into the build
environment, the variable is set as well.  At other times, it might be
set through the wrap phase for runtime purposes.

I am gonna sit on what you said and think.

Regards,
RG.

Attachment: OpenPGP_0x5F5816647F8BE551.asc
Description: application/pgp-keys

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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