Hi Mark :) Thank you for being patient with an idiot :)
On Mon 24 Aug 2015 18:14, Mark H Weaver <m...@netris.org> writes: > For the same reason that I explained in my last email in this thread, > although I forgot to mention ~/.guix-profile/etc/profile: > > Note that we have a 'native-search-paths' specification on the > 'gstreamer' package, so if you install that package in your profile, it > should remind you to set GST_PLUGIN_SYSTEM_PATH. > > So, if you install 'gstreamer' in your profile, then I guess that a > proper setting should appear in ~/.guix-profile/etc/profile. Quoting > myself again: > > Unfortunately, this is not very satisfactory because there's usually > no reason to install gstreamer in your profile. > > It would be good to find a better solution to this more general problem. > Ideally, it would be good to remind the user about 'native-search-paths' > for all *run-time* dependencies of the packages in the user's profile. You are right! I guess my experience was that would install things, even gstreamer, but run rhythmbox from Alt-F2 so I wouldn't get the environment of the newly installed profile, whereas if I had run from a shell I would. I didn't know what was going on. > I agree. I think we should populate ~/.guix-profile/etc/profile with > 'native-search-paths' not only from the transitive propagated-inputs of > the user's profile, as we currently do, but from the transitive > *run-time* dependencies. That should solve many problems like this. > > It may be tricky to implement, however, since the run-time dependencies > are not known in advance, and I guess it would involve getting the > information from the daemon. This is an area where my knowledge is > quite weak, so I'm hoping that Ludovic will take an interest in this. What would happen if we made gst-plugins-ugly also add the same native-search-paths? Multiple packages can add the same paths, right? In that case you wouldn't have to install gstreamer. Andy