gnome3.mutter328: use wrapGAppsHook

This commit is contained in:
worldofpeace 2019-04-03 17:02:38 -04:00
parent c4df83279e
commit 7fe664cab2

View File

@ -1,6 +1,6 @@
{ fetchFromGitLab, stdenv, substituteAll, pkgconfig, gnome3, intltool, gobject-introspection, upower, cairo { fetchFromGitLab, stdenv, substituteAll, pkgconfig, gnome3, intltool, gobject-introspection, upower, cairo
, glib, gtk3, pango, cogl, clutter, libstartup_notification, zenity, libcanberra-gtk3 , glib, gtk3, pango, cogl, clutter, libstartup_notification, zenity, libcanberra-gtk3
, gsettings-desktop-schemas, gnome-desktop , gsettings-desktop-schemas, gnome-desktop, wrapGAppsHook
, libtool, makeWrapper, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libinput , libtool, makeWrapper, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libinput
, geocode-glib, libgudev, libwacom, xwayland, autoreconfHook }: , geocode-glib, libgudev, libwacom, xwayland, autoreconfHook }:
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
libXtst libXtst
]; ];
nativeBuildInputs = [ autoreconfHook pkgconfig intltool libtool makeWrapper ]; nativeBuildInputs = [ autoreconfHook pkgconfig intltool libtool wrapGAppsHook ];
buildInputs = [ buildInputs = [
glib gobject-introspection gtk3 gsettings-desktop-schemas upower glib gobject-introspection gtk3 gsettings-desktop-schemas upower
@ -51,11 +51,6 @@ stdenv.mkDerivation rec {
libxkbcommon libxkbcommon
]; ];
preFixup = ''
wrapProgram "$out/bin/mutter" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
'';
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {