nixos/plasma5: set GST_PLUGIN_SYSTEM_PATH_1_0 to list of paths

This commit is contained in:
Thomas Tuegel 2017-03-03 17:34:27 -06:00
parent ff8f2b87e8
commit cc7c3c6bb8
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59

View File

@ -181,17 +181,17 @@ in
};
environment.variables = {
# Enable GTK applications to load SVG icons
GST_PLUGIN_SYSTEM_PATH_1_0 =
lib.makeSearchPath "/lib/gstreamer-1.0"
(builtins.map (pkg: pkg.out) (with pkgs.gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-good
gst-plugins-ugly
gst-plugins-bad
gst-libav # for mp3 playback
]));
builtins.map (pkg: getLib pkg + "/lib/gstreamer-1.0")
(with pkgs.gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-good
gst-plugins-ugly
gst-plugins-bad
gst-libav # for mp3 playback
]);
# Enable GTK applications to load SVG icons
GDK_PIXBUF_MODULE_FILE = "${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache";
};