mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
nautilus: refactor wrapping variables in binaries
This commit is contained in:
parent
877a08b7d5
commit
4fc7fa9d1d
1 changed files with 5 additions and 11 deletions
|
@ -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 ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue