summary refs log tree commit diff
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2015-06-13 15:27:42 +0200
committerLuca Bruno <lucabru@src.gnome.org>2015-06-13 15:27:45 +0200
commitccb32c96c4f00f5296e697e7c316f8a72e216355 (patch)
tree210bbd4ca167353c281fa7817195621ca4fb06f7 /pkgs/desktops
parent481a764f8f860dde4d664ec9d83724fd4a9631e6 (diff)
downloadnixlib-ccb32c96c4f00f5296e697e7c316f8a72e216355.tar
nixlib-ccb32c96c4f00f5296e697e7c316f8a72e216355.tar.gz
nixlib-ccb32c96c4f00f5296e697e7c316f8a72e216355.tar.bz2
nixlib-ccb32c96c4f00f5296e697e7c316f8a72e216355.tar.lz
nixlib-ccb32c96c4f00f5296e697e7c316f8a72e216355.tar.xz
nixlib-ccb32c96c4f00f5296e697e7c316f8a72e216355.tar.zst
nixlib-ccb32c96c4f00f5296e697e7c316f8a72e216355.zip
gnome-bluetooth: fix icons on non-nixos
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/gnome-3/3.16/core/gnome-bluetooth/default.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/desktops/gnome-3/3.16/core/gnome-bluetooth/default.nix b/pkgs/desktops/gnome-3/3.16/core/gnome-bluetooth/default.nix
index ab8f380f672a..5b7d7c19d296 100644
--- a/pkgs/desktops/gnome-3/3.16/core/gnome-bluetooth/default.nix
+++ b/pkgs/desktops/gnome-3/3.16/core/gnome-bluetooth/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchurl, gnome3, pkgconfig, intltool, glib
-, udev, itstool, libxml2 }:
+, udev, itstool, libxml2, makeWrapper }:
 
 stdenv.mkDerivation rec {
   name = "gnome-bluetooth-${gnome3.version}.1";
@@ -9,8 +9,13 @@ stdenv.mkDerivation rec {
     sha256 = "12z0792j5ln238ajhgqx5jrm34wz2yqbbskhlp23p9c0cwnj1srz";
   };
 
-  buildInputs = with gnome3; [ pkgconfig intltool glib gtk3 udev libxml2
-                               gsettings_desktop_schemas itstool ];
+  buildInputs = with gnome3; [ pkgconfig intltool glib gtk3 udev libxml2 gnome3.defaultIconTheme
+                               makeWrapper gsettings_desktop_schemas itstool ];
+
+  preFixup = ''
+    wrapProgram "$out/bin/bluetooth-sendto" \
+      --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
+  '';
 
   meta = with stdenv.lib; {
     homepage = https://help.gnome.org/users/gnome-bluetooth/stable/index.html.en;