mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
nautilus: refactor wrapping variables in binaries
This commit is contained in:
parent
877a08b7d5
commit
4fc7fa9d1d
@ -1,21 +1,15 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libxml2, dbus_glib, shared_mime_info, libexif
|
||||
, gtk, gnome3, libunique, intltool, gobjectIntrospection
|
||||
, libnotify, makeWrapper, exempi, librsvg, tracker }:
|
||||
, libnotify, wrapGAppsHook, exempi, librsvg, tracker }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
buildInputs = [ pkgconfig libxml2 dbus_glib shared_mime_info libexif gtk libunique intltool exempi librsvg
|
||||
gnome3.gnome_desktop gnome3.adwaita-icon-theme
|
||||
gnome3.gsettings_desktop_schemas libnotify makeWrapper tracker ];
|
||||
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/nautilus" \
|
||||
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
||||
--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"
|
||||
'';
|
||||
buildInputs = [ libxml2 dbus_glib shared_mime_info libexif gtk libunique intltool exempi librsvg
|
||||
gnome3.gnome_desktop gnome3.adwaita-icon-theme
|
||||
gnome3.gsettings_desktop_schemas gnome3.dconf libnotify tracker ];
|
||||
|
||||
patches = [ ./extension_dir.patch ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user