summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/core/gdm
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2017-09-19 12:50:26 +0200
committerJan Tojnar <jtojnar@gmail.com>2017-11-26 03:10:50 +0100
commit3f610ddd8157e3eb076445ec2a1e051deefae4ca (patch)
tree4901fbf192fa391a6a90bb574a65dd3622c5a1ef /pkgs/desktops/gnome-3/core/gdm
parent29eff705ba7248a69d8bd5ea4da72ddfc19a4dbc (diff)
downloadnixpkgs-3f610ddd8157e3eb076445ec2a1e051deefae4ca.tar
nixpkgs-3f610ddd8157e3eb076445ec2a1e051deefae4ca.tar.gz
nixpkgs-3f610ddd8157e3eb076445ec2a1e051deefae4ca.tar.bz2
nixpkgs-3f610ddd8157e3eb076445ec2a1e051deefae4ca.tar.lz
nixpkgs-3f610ddd8157e3eb076445ec2a1e051deefae4ca.tar.xz
nixpkgs-3f610ddd8157e3eb076445ec2a1e051deefae4ca.tar.zst
nixpkgs-3f610ddd8157e3eb076445ec2a1e051deefae4ca.zip
gnome3.gdm: prevent orca warning
Diffstat (limited to 'pkgs/desktops/gnome-3/core/gdm')
-rw-r--r--pkgs/desktops/gnome-3/core/gdm/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/desktops/gnome-3/core/gdm/default.nix b/pkgs/desktops/gnome-3/core/gdm/default.nix
index 09e27e7c0c5..00ebaca7d08 100644
--- a/pkgs/desktops/gnome-3/core/gdm/default.nix
+++ b/pkgs/desktops/gnome-3/core/gdm/default.nix
@@ -16,11 +16,10 @@ stdenv.mkDerivation rec {
                      "--with-plymouth=yes"
                      "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
 
-  nativeBuildInputs = [ autoreconfHook pkgconfig ];
-  buildInputs = [ glib itstool libxml2 intltool
-                  accountsservice gnome3.dconf systemd
+  nativeBuildInputs = [ pkgconfig libxml2 itstool intltool autoreconfHook libtool gnome3.dconf ];
+  buildInputs = [ glib accountsservice systemd
                   gobjectIntrospection libX11 gtk
-                  libcanberra_gtk3 pam libtool plymouth librsvg ];
+                  libcanberra_gtk3 pam plymouth librsvg ];
 
   enableParallelBuilding = true;
 
@@ -30,6 +29,11 @@ stdenv.mkDerivation rec {
               ./gdm-session-worker_xserver-path.patch
              ];
 
+  postInstall = ''
+    # Prevent “Could not parse desktop file orca-autostart.desktop or it references a not found TryExec binary”
+    rm $out/share/gdm/greeter/autostart/orca-autostart.desktop
+  '';
+
   installFlags = [ "sysconfdir=$(out)/etc" "dbusconfdir=$(out)/etc/dbus-1/system.d" ];
 
   meta = with stdenv.lib; {