@@ -1,5 +1,5 @@
1{ stdenv, fetchurl, pkgconfig, glib, itstool, libxml2, xorg, dbus
1{ stdenv, fetchurl, pkgconfig, glib, itstool, libxml2, xorg, dbus
2−, intltool, accountsservice, libX11, gnome3, systemd, gnome_session
2+, intltool, accountsservice, libX11, gnome3, systemd, gnome_session, autoreconfHook
3, gtk, libcanberra_gtk3, pam, libtool, gobjectIntrospection }:
3, gtk, libcanberra_gtk3, pam, libtool, gobjectIntrospection }:
5stdenv.mkDerivation rec {
5stdenv.mkDerivation rec {
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
15 "--with-systemd=yes"
15 "--with-systemd=yes"
16 "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
16 "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
18− buildInputs = [ pkgconfig glib itstool libxml2 intltool
18+ buildInputs = [ pkgconfig glib itstool libxml2 intltool autoreconfHook
19 accountsservice gnome3.dconf systemd
19 accountsservice gnome3.dconf systemd
20 gobjectIntrospection libX11 gtk
20 gobjectIntrospection libX11 gtk
21 libcanberra_gtk3 pam libtool ];
21 libcanberra_gtk3 pam libtool ];
@@ -28,7 +28,8 @@ stdenv.mkDerivation rec {
29 # Disable Access Control because our X does not support FamilyServerInterpreted yet
29 # Disable Access Control because our X does not support FamilyServerInterpreted yet
30 patches = [ ./xserver_path.patch ./sessions_dir.patch
30 patches = [ ./xserver_path.patch ./sessions_dir.patch
31− ./disable_x_access_control.patch ./no-dbus-launch.patch ];
31+ ./disable_x_access_control.patch ./no-dbus-launch.patch
32+ ./libsystemd.patch ];
33 installFlags = [ "sysconfdir=$(out)/etc" "dbusconfdir=$(out)/etc/dbus-1/system.d" ];
34 installFlags = [ "sysconfdir=$(out)/etc" "dbusconfdir=$(out)/etc/dbus-1/system.d" ];