git.iko.soy/typeable/nixpkgs
on master help sign in
gdm: apply substition to cope with systemd 229 -> 230 upgrade

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

commit745c379f1b95bfbfef17a5f173180988180e1bb0 authorobadz <obadz-git@obadz.com> dateFri 27 May 2016, 10:12 (11 years ago) parent663beaa
1 file changed+5
pkgs/desktops/gnome-3/3.18/core/gdm/default.nix+5
pkgs/desktops/gnome-3/3.18/core/gdm/default.nix+5
@@ -30,6 +30,11 @@ stdenv.mkDerivation rec {
3030 patches = [ ./xserver_path.patch ./sessions_dir.patch
3131 ./disable_x_access_control.patch ./no-dbus-launch.patch ];
3232
33+ postPatch = ''
34+ substituteInPlace configure --replace 'libsystemd-login >= 186 libsystemd-daemon' 'libsystemd'
35+ substituteInPlace configure --replace 'libsystemd-journal' 'libsystemd'
36+ '';
37+
3338 installFlags = [ "sysconfdir=$(out)/etc" "dbusconfdir=$(out)/etc/dbus-1/system.d" ];
3439
3540 meta = with stdenv.lib; {