udiskie: use wrap GApps and icon setup hooks

This commit is contained in:
Robert Helgesson 2016-07-30 10:24:36 +02:00
parent 5929399527
commit 1c5d42f710
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86

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;