From cc7c3c6bb84f0f235bf8c136995074cdf4ae89b5 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Fri, 3 Mar 2017 17:34:27 -0600 Subject: [PATCH] nixos/plasma5: set GST_PLUGIN_SYSTEM_PATH_1_0 to list of paths --- .../services/x11/desktop-managers/plasma5.nix | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix index 24225308ffb..15ffd330e72 100644 --- a/nixos/modules/services/x11/desktop-managers/plasma5.nix +++ b/nixos/modules/services/x11/desktop-managers/plasma5.nix @@ -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"; };