uwsgi: fix build with libxcrypt

This commit is contained in:
Franz Pletz 2022-09-30 01:47:20 +02:00 committed by Martin Weinelt
parent 897f5b25fb
commit 2939285236
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,4 +1,4 @@
{ stdenv, nixosTests, lib, fetchurl, pkg-config, jansson, pcre
{ stdenv, nixosTests, lib, fetchurl, pkg-config, jansson, pcre, libxcrypt
# plugins: list of strings, eg. [ "python2" "python3" ]
, plugins ? []
, pam, withPAM ? stdenv.isLinux
@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ python3 pkg-config ];
buildInputs = [ jansson pcre ]
buildInputs = [ jansson pcre libxcrypt ]
++ lib.optional withPAM pam
++ lib.optional withSystemd systemd
++ lib.optional withCap libcap