system: Define 'GST_PLUGIN_PATH' in /etc/profile.
authorLudovic Courtès <ludo@gnu.org>
Thu, 15 Oct 2015 21:06:20 +0000 (23:06 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 15 Oct 2015 21:11:29 +0000 (23:11 +0200)
* gnu/system.scm (operating-system-etc-service)[profile]: Add
  'GST_PLUGIN_PATH' definition.

gnu/system.scm

index b32d26b..aa76882 100644 (file)
@@ -474,6 +474,9 @@ export DBUS_FATAL_WARNINGS=0
 # Allow Aspell to find dictionaries installed in the user profile.
 export ASPELL_CONF=\"dict-dir $HOME/.guix-profile/lib/aspell\"
 
+# Allow GStreamer-based applications to find plugins.
+export GST_PLUGIN_PATH=\"$HOME/.guix-profile/lib/gstreamer-1.0\"
+
 if [ -n \"$BASH_VERSION\" -a -f /etc/bashrc ]
 then
   # Load Bash-specific initialization code.