haproxy: fix build with libxcrypt

This commit is contained in:
Franz Pletz 2022-09-30 02:44:24 +02:00 committed by Martin Weinelt
parent ccba311ff5
commit 57f4391a43
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -2,7 +2,7 @@
, usePcre ? true
, withPrometheusExporter ? true
, stdenv, lib, fetchurl, nixosTests
, openssl, zlib
, openssl, zlib, libxcrypt
, lua5_3 ? null, pcre ? null, systemd ? null
}:
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-zp4Z6/zdQ+Ua+KYJDx341RLZct33QvpkimQ7uxkFZgU=";
};
buildInputs = [ openssl zlib ]
buildInputs = [ openssl zlib libxcrypt ]
++ lib.optional useLua lua5_3
++ lib.optional usePcre pcre
++ lib.optional stdenv.isLinux systemd;