about summary refs log tree commit diff
path: root/pkgs/servers/http
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-10-03 17:06:28 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-10-09 18:14:33 +0200
commit3f4de6d4ca71d9219bf68f32a6c8f36838a43111 (patch)
tree5c979a2b96eae48798a21973a25e2e503db1b5f4 /pkgs/servers/http
parent6f1812a59512f79526a1abbf0cd38b0ce089d999 (diff)
thttpd: fix build with libxcrypt
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r--pkgs/servers/http/thttpd/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/servers/http/thttpd/default.nix b/pkgs/servers/http/thttpd/default.nix
index 64e7309bc9bf2..c7a92bbf5f1ca 100644
--- a/pkgs/servers/http/thttpd/default.nix
+++ b/pkgs/servers/http/thttpd/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurl }:
+{ lib, stdenv, fetchurl, libxcrypt }:
 
 stdenv.mkDerivation rec {
   pname = "thttpd";
@@ -14,6 +14,10 @@ stdenv.mkDerivation rec {
     sed -i -e 's/chmod 2755/chmod 755/' extras/Makefile.in
   '';
 
+  buildInputs = [
+    libxcrypt
+  ];
+
   preInstall = ''
     mkdir -p "$out/man/man1"
     sed -i -e 's/-o bin -g bin *//' Makefile