udiskie: use wrap GApps and icon setup hooks

This commit is contained in:
Robert Helgesson
2016-09-07 15:22:34 +02:00
parent 5929399527
commit 1c5d42f710
+2 -5
View File
@@ -27136,6 +27136,8 @@ in modules // {
buildInputs = [
pkgs.asciidoc-full # For building man page.
pkgs.hicolor_icon_theme
pkgs.wrapGAppsHook
];
propagatedBuildInputs = with self; [ pkgs.gobjectIntrospection pkgs.gtk3 pyyaml pygobject3 pkgs.libnotify pkgs.udisks2 pkgs.gettext self.docopt ];
@@ -27147,11 +27149,6 @@ in modules // {
cp -v doc/udiskie.8 $out/share/man/man8/
'';
preFixup = ''
wrapProgram "$out/bin/"* \
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH"
'';
# tests require dbusmock
doCheck = false;