From 6f8d2d6917ee1dc54b5bbe7a66a15e1b6bc7bec2 Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 26 May 2016 21:01:58 +0200 Subject: [PATCH] kmscon: Fix build against systemd 230 From the changelog: The compatibility libraries libsystemd-daemon.so, libsystemd-journal.so, libsystemd-id128.so, and libsystemd-login.so which have been deprecated since systemd-209 have been removed along with the corresponding pkg-config files. All symbols provided by those libraries are provided by libsystemd.so. So let's just replace the use of libsystemd-daemon and libsystemd-login with libsystemd in the configure script until a new version of kmscon comes along. Signed-off-by: aszlig --- pkgs/os-specific/linux/kmscon/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/os-specific/linux/kmscon/default.nix b/pkgs/os-specific/linux/kmscon/default.nix index ed2cb76e8203..f04198059138 100644 --- a/pkgs/os-specific/linux/kmscon/default.nix +++ b/pkgs/os-specific/linux/kmscon/default.nix @@ -33,6 +33,11 @@ stdenv.mkDerivation rec { libxslt ]; + # FIXME: Remove as soon as kmscon > 8 comes along. + postPatch = '' + sed -i -e 's/libsystemd-daemon libsystemd-login/libsystemd/g' configure + ''; + configureFlags = [ "--enable-multi-seat" "--disable-debug"