From b5cac7566f03d21eb5ce0ff7f2eaf5e68a29cd3f Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Mon, 11 Mar 2019 18:05:57 -0400 Subject: [PATCH] lightdm_gtk_greeter: correct at-spi-command Without manually setting the command with the flag, it's hardcoded to some FHS path. --- pkgs/applications/display-managers/lightdm/gtk-greeter.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/display-managers/lightdm/gtk-greeter.nix b/pkgs/applications/display-managers/lightdm/gtk-greeter.nix index a3e9554789c7..638c57885290 100644 --- a/pkgs/applications/display-managers/lightdm/gtk-greeter.nix +++ b/pkgs/applications/display-managers/lightdm/gtk-greeter.nix @@ -1,7 +1,7 @@ { stdenv, fetchurl, lightdm, pkgconfig, intltool , hicolor-icon-theme, makeWrapper , useGTK2 ? false, gtk2, gtk3 # gtk3 seems better supported -, exo +, exo, at-spi2-core }: #ToDo: bad icons with gtk2; @@ -23,9 +23,10 @@ stdenv.mkDerivation rec { buildInputs = [ lightdm exo intltool makeWrapper hicolor-icon-theme ] ++ (if useGTK2 then [ gtk2 ] else [ gtk3 ]); - configureFlags = [ + configureFlagsArray = [ "--localstatedir=/var" "--sysconfdir=/etc" + "--enable-at-spi-command=${at-spi2-core}/libexec/at-spi-bus-launcher --launch-immediately" ] ++ stdenv.lib.optional useGTK2 "--with-gtk2"; NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated-declarations" ];