From 2c0a0ce3c53bbdcd38af73987ae78e839c9e3ec2 Mon Sep 17 00:00:00 2001 From: Nicolas Petton Date: Fri, 22 Apr 2016 18:29:44 +0200 Subject: [PATCH] file-roller: Enable nautilus extension --- pkgs/desktops/gnome-3/3.18/apps/file-roller/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/desktops/gnome-3/3.18/apps/file-roller/default.nix b/pkgs/desktops/gnome-3/3.18/apps/file-roller/default.nix index df90c7b29773..d5b2558cf707 100644 --- a/pkgs/desktops/gnome-3/3.18/apps/file-roller/default.nix +++ b/pkgs/desktops/gnome-3/3.18/apps/file-roller/default.nix @@ -1,18 +1,17 @@ { stdenv, fetchurl, glib, pkgconfig, gnome3, intltool, itstool, libxml2, libarchive -, attr, bzip2, acl, wrapGAppsHook, librsvg, gdk_pixbuf }: +, attr, bzip2, acl, wrapGAppsHook, librsvg, libnotify, gdk_pixbuf }: stdenv.mkDerivation rec { inherit (import ./src.nix fetchurl) name src; - # TODO: support nautilus - # it tries to create {nautilus}/lib/nautilus/extensions-3.0/libnautilus-fileroller.so - nativeBuildInputs = [ pkgconfig wrapGAppsHook ]; - buildInputs = [ glib gnome3.gtk intltool itstool libxml2 libarchive + buildInputs = [ glib gnome3.gtk intltool itstool libxml2 libarchive libnotify gnome3.defaultIconTheme attr bzip2 acl gdk_pixbuf librsvg gnome3.dconf ]; + installFlags = [ "nautilus_extensiondir=$(out)/lib/nautilus/extensions-3.0" ]; + meta = with stdenv.lib; { homepage = https://wiki.gnome.org/Apps/FileRoller; description = "Archive manager for the GNOME desktop environment";