diff options
author | 宋文武 <iyzsong@gmail.com> | 2014-03-22 23:57:24 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@gmail.com> | 2014-03-27 11:01:24 +0800 |
commit | 96d78a2804ada185f6bb4dc2b51f15853598e251 (patch) | |
tree | bdee1d6059568ef9f87321c97e4862ea61147ec6 /pkgs/applications | |
parent | 6a981b514198d9b615be065e7b7fa4a2adbeb890 (diff) |
pitivi: fix icons
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/video/pitivi/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/applications/video/pitivi/default.nix b/pkgs/applications/video/pitivi/default.nix index d6a0c0e5212d..947d2517808a 100644 --- a/pkgs/applications/video/pitivi/default.nix +++ b/pkgs/applications/video/pitivi/default.nix @@ -1,6 +1,7 @@ { stdenv, fetchurl, pkgconfig, intltool, itstool, makeWrapper , pythonPackages, gst, clutter-gst, clutter-gtk , gobjectIntrospection, clutter, gtk3, librsvg +, gnome_icon_theme, gnome_icon_theme_symbolic }: let @@ -43,10 +44,15 @@ in stdenv.mkDerivation rec { gstreamer gst-editing-services clutter-gst clutter-gtk clutter gtk3 ]; + + xdgDataDirs = makeSearchPath "share" [ + gtk3 gnome_icon_theme gnome_icon_theme_symbolic + ]; in '' wrapProgram "$out/bin/pitivi" \ --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \ --prefix LD_LIBRARY_PATH : "${libraryPath}" \ - --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" + --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" \ + --prefix XDG_DATA_DIRS : "\$XDG_ICON_DIRS:${xdgDataDirs}:$out/share" ''; } |