mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
uwsgi: fix build on aarch64-darwin
This commit is contained in:
parent
3cea0ed4aa
commit
0947d3e230
@ -1,4 +1,5 @@
|
||||
{ stdenv, nixosTests, lib, pkg-config, jansson, pcre, libxcrypt
|
||||
, expat, zlib
|
||||
# plugins: list of strings, eg. [ "python2" "python3" ]
|
||||
, plugins ? []
|
||||
, pam, withPAM ? stdenv.isLinux
|
||||
@ -77,6 +78,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ python3 pkg-config makeWrapper ];
|
||||
|
||||
buildInputs = [ jansson pcre libxcrypt ]
|
||||
++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ expat zlib ]
|
||||
++ lib.optional withPAM pam
|
||||
++ lib.optional withSystemd systemd
|
||||
++ lib.optional withCap libcap
|
||||
|
Loading…
Reference in New Issue
Block a user