gdm: apply substition to cope with systemd 229 -> 230 upgrade

Inspired from https://github.com/GNOME/gdm/commit/eee5bf72c9bb1c1d62eb0e7102088ae3b9a188cd
This commit is contained in:
obadz
2016-05-27 10:13:14 +01:00
parent 663beaa79f
commit 745c379f1b
@@ -30,6 +30,11 @@ stdenv.mkDerivation rec {
patches = [ ./xserver_path.patch ./sessions_dir.patch
./disable_x_access_control.patch ./no-dbus-launch.patch ];
postPatch = ''
substituteInPlace configure --replace 'libsystemd-login >= 186 libsystemd-daemon' 'libsystemd'
substituteInPlace configure --replace 'libsystemd-journal' 'libsystemd'
'';
installFlags = [ "sysconfdir=$(out)/etc" "dbusconfdir=$(out)/etc/dbus-1/system.d" ];
meta = with stdenv.lib; {