diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-11-10 13:29:46 +0100 |
---|---|---|
committer | Winter <winter@winter.cafe> | 2022-11-10 11:16:55 -0500 |
commit | 0947d3e2307dd89f374dcd7122adfea21ab89512 (patch) | |
tree | 9bf345eefbcfc281b0f63debc05587b85cf33cb6 /pkgs/servers/uwsgi | |
parent | 3cea0ed4aac17e5eb620a73f36fab5463c84c5b1 (diff) |
uwsgi: fix build on aarch64-darwin
Diffstat (limited to 'pkgs/servers/uwsgi')
-rw-r--r-- | pkgs/servers/uwsgi/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/servers/uwsgi/default.nix b/pkgs/servers/uwsgi/default.nix index 95b89093a8801..01fa28d5d41e5 100644 --- a/pkgs/servers/uwsgi/default.nix +++ b/pkgs/servers/uwsgi/default.nix @@ -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 |