Andreas Enge <andr...@enge.fr> skribis: > Yes, I needed to add > (setenv "PYTHONPATH" (string-append libxml2 "/lib/python2.7/site- > packages")) > > as well as in some other place > (setenv "PERL5LIB" (string-append perl-xml-parser > "/lib/perl5/site_perl")) > > This had better be handled centrally. One could do it in the same way as > CPATH currently, but Ludovic had some ideas how to generalise it even > further.
Yes, this is the intended purpose of the currently-unused ‘search-paths’ field of packages. Ludo’.