summary refs log tree commit diff
path: root/pkgs/servers/fcgiwrap
diff options
context:
space:
mode:
authorValérian Galliat <val@codejam.info>2016-05-29 14:46:56 -0400
committerValérian Galliat <val@codejam.info>2016-05-29 14:48:03 -0400
commit3fbd0477367f92e2fc25c0720fafaba13a4ae51e (patch)
tree876070b37f2bcc6737114c7f9c5c9ced56152976 /pkgs/servers/fcgiwrap
parentbfefc54bc50af7fa59594b9690833a273cdc5542 (diff)
downloadnixpkgs-3fbd0477367f92e2fc25c0720fafaba13a4ae51e.tar
nixpkgs-3fbd0477367f92e2fc25c0720fafaba13a4ae51e.tar.gz
nixpkgs-3fbd0477367f92e2fc25c0720fafaba13a4ae51e.tar.bz2
nixpkgs-3fbd0477367f92e2fc25c0720fafaba13a4ae51e.tar.lz
nixpkgs-3fbd0477367f92e2fc25c0720fafaba13a4ae51e.tar.xz
nixpkgs-3fbd0477367f92e2fc25c0720fafaba13a4ae51e.tar.zst
nixpkgs-3fbd0477367f92e2fc25c0720fafaba13a4ae51e.zip
fcgiwrap: fix build with systemd 230
Closes #15791.
Diffstat (limited to 'pkgs/servers/fcgiwrap')
-rw-r--r--pkgs/servers/fcgiwrap/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/servers/fcgiwrap/default.nix b/pkgs/servers/fcgiwrap/default.nix
index 84deebcb8f5..5dcaf5a65fe 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";