From 3fbd0477367f92e2fc25c0720fafaba13a4ae51e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Galliat?= Date: Sun, 29 May 2016 14:46:56 -0400 Subject: [PATCH] fcgiwrap: fix build with systemd 230 Closes #15791. --- pkgs/servers/fcgiwrap/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/servers/fcgiwrap/default.nix b/pkgs/servers/fcgiwrap/default.nix index 84deebcb8f5b..5dcaf5a65fe0 100644 --- a/pkgs/servers/fcgiwrap/default.nix +++ b/pkgs/servers/fcgiwrap/default.nix @@ -13,6 +13,11 @@ stdenv.mkDerivation rec { buildInputs = [ autoreconfHook systemd fcgi pkgconfig ]; + # systemd 230 no longer has libsystemd-daemon as a separate entity from libsystemd + postPatch = '' + substituteInPlace configure.ac --replace libsystemd-daemon libsystemd + ''; + meta = with stdenv.lib; { homepage = https://nginx.localdomain.pl/wiki/FcgiWrap; description = "Simple server for running CGI applications over FastCGI";