git.iko.soy/typeable/nixpkgs
on master help sign in
gnome-terminal: enable GNOME Shell search provider (for 3.18)
ca717d0Bjørn Forsman
pkgs/desktops/gnome-3/3.18/core/gnome-terminal/default.nix+8−1
@@ -11,8 +11,15 @@ stdenv.mkDerivation rec {
11 nativeBuildInputs = [ pkgconfig intltool gnome_doc_utils which libuuid libxml2
11 nativeBuildInputs = [ pkgconfig intltool gnome_doc_utils which libuuid libxml2
12 desktop_file_utils wrapGAppsHook ];
12 desktop_file_utils wrapGAppsHook ];
13
13
14+ # Silly ./configure, it looks for dbus file from gnome-shell in the
15+ # installation tree of the package it is configuring.
16+ preConfigure = ''
17+ mkdir -p "$out/share/dbus-1/interfaces"
18+ cp "${gnome3.gnome_shell}/share/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml" "$out/share/dbus-1/interfaces"
19+ '';
20+
14 # FIXME: enable for gnome3
21 # FIXME: enable for gnome3
15− configureFlags = [ "--disable-search-provider" "--disable-migration" ];
22+ configureFlags = [ "--disable-migration" ];
16
23
17 meta = with stdenv.lib; {
24 meta = with stdenv.lib; {
18 description = "The GNOME Terminal Emulator";
25 description = "The GNOME Terminal Emulator";