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.
OpenPGP_0x5F5816647F8BE551.asc
Description: application/pgp-keys
OpenPGP_signature
Description: OpenPGP digital signature