On Sun, Dec 20, 2015 at 1:56 PM, Ludovic Courtès <l...@gnu.org> wrote: >> To get all the required search paths recursively we should replace the >> last 'manifest-entry' slot with a call to a function like this: > > Right. > > Here’s a variant of what you propose. With that, I get: > > --8<---------------cut here---------------start------------->8--- > $ ./pre-inst-env guix package -i python2-matplotlib -p foo > > [...] > > The following environment variable definitions may be needed: > export PATH="foo/bin:foo/sbin" > export PYTHONPATH="foo/lib/python2.7/site-packages" > export GI_TYPELIB_PATH="foo/lib/girepository-1.0" > export XDG_DATA_DIRS="foo/share" > export GIO_EXTRA_MODULES="foo/lib/gio/modules" > --8<---------------cut here---------------end--------------->8--- > > … which is what we’re expecting, right?
I think so. > > If that’s fine with you, I’ll commit this patch along with test cases. Sure, thanks for that! Regards, Fede