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

Inspired from eee5bf72c9
This commit is contained in:
obadz 2016-05-27 10:12:18 +01:00
parent 663beaa79f
commit 745c379f1b

View File

@ -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; {