mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
gdm: apply substition to cope with systemd 229 -> 230 upgrade
Inspired from eee5bf72c9
This commit is contained in:
parent
663beaa79f
commit
745c379f1b
1 changed files with 5 additions and 0 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue