diff options
author | Thomas Tuegel <ttuegel@mailbox.org> | 2017-03-03 17:34:27 -0600 |
---|---|---|
committer | Thomas Tuegel <ttuegel@mailbox.org> | 2017-03-04 16:31:22 -0600 |
commit | cc7c3c6bb84f0f235bf8c136995074cdf4ae89b5 (patch) | |
tree | 1681a0bf6826cd23af964a8902ffcebc8c779fb9 /nixos/modules/services/x11 | |
parent | ff8f2b87e8d15fe2ddc000b115c0d7f632999b61 (diff) | |
download | nixpkgs-cc7c3c6bb84f0f235bf8c136995074cdf4ae89b5.tar nixpkgs-cc7c3c6bb84f0f235bf8c136995074cdf4ae89b5.tar.gz nixpkgs-cc7c3c6bb84f0f235bf8c136995074cdf4ae89b5.tar.bz2 nixpkgs-cc7c3c6bb84f0f235bf8c136995074cdf4ae89b5.tar.lz nixpkgs-cc7c3c6bb84f0f235bf8c136995074cdf4ae89b5.tar.xz nixpkgs-cc7c3c6bb84f0f235bf8c136995074cdf4ae89b5.tar.zst nixpkgs-cc7c3c6bb84f0f235bf8c136995074cdf4ae89b5.zip |
nixos/plasma5: set GST_PLUGIN_SYSTEM_PATH_1_0 to list of paths
Diffstat (limited to 'nixos/modules/services/x11')
-rw-r--r-- | nixos/modules/services/x11/desktop-managers/plasma5.nix | 20 |
1 files 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"; }; |