nautilus: refactor wrapping variables in binaries

This commit is contained in:
José Romildo Malaquias 2016-03-22 13:41:14 -03:00
parent 877a08b7d5
commit 4fc7fa9d1d

View file

@ -1,21 +1,15 @@
{ stdenv, fetchurl, pkgconfig, libxml2, dbus_glib, shared_mime_info, libexif { stdenv, fetchurl, pkgconfig, libxml2, dbus_glib, shared_mime_info, libexif
, gtk, gnome3, libunique, intltool, gobjectIntrospection , gtk, gnome3, libunique, intltool, gobjectIntrospection
, libnotify, makeWrapper, exempi, librsvg, tracker }: , libnotify, wrapGAppsHook, exempi, librsvg, tracker }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
inherit (import ./src.nix fetchurl) name src; inherit (import ./src.nix fetchurl) name src;
buildInputs = [ pkgconfig libxml2 dbus_glib shared_mime_info libexif gtk libunique intltool exempi librsvg nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
gnome3.gnome_desktop gnome3.adwaita-icon-theme
gnome3.gsettings_desktop_schemas libnotify makeWrapper tracker ];
preFixup = '' buildInputs = [ libxml2 dbus_glib shared_mime_info libexif gtk libunique intltool exempi librsvg
wrapProgram "$out/bin/nautilus" \ gnome3.gnome_desktop gnome3.adwaita-icon-theme
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \ gnome3.gsettings_desktop_schemas gnome3.dconf libnotify tracker ];
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$out/share" \
--suffix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
'';
patches = [ ./extension_dir.patch ]; patches = [ ./extension_dir.patch ];