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

Inspired from https://github.com/GNOME/gdm/commit/eee5bf72c9bb1c1d62eb0e7102088ae3b9a188cd

obadz 745c379f 663beaa7

+5
+5
pkgs/desktops/gnome-3/3.18/core/gdm/default.nix
··· 30 patches = [ ./xserver_path.patch ./sessions_dir.patch 31 ./disable_x_access_control.patch ./no-dbus-launch.patch ]; 32 33 installFlags = [ "sysconfdir=$(out)/etc" "dbusconfdir=$(out)/etc/dbus-1/system.d" ]; 34 35 meta = with stdenv.lib; {
··· 30 patches = [ ./xserver_path.patch ./sessions_dir.patch 31 ./disable_x_access_control.patch ./no-dbus-launch.patch ]; 32 33 + postPatch = '' 34 + substituteInPlace configure --replace 'libsystemd-login >= 186 libsystemd-daemon' 'libsystemd' 35 + substituteInPlace configure --replace 'libsystemd-journal' 'libsystemd' 36 + ''; 37 + 38 installFlags = [ "sysconfdir=$(out)/etc" "dbusconfdir=$(out)/etc/dbus-1/system.d" ]; 39 40 meta = with stdenv.lib; {