From 6ba492309955660d400e13d45dc3b35da7ed3943 Mon Sep 17 00:00:00 2001 From: Elliot Cameron Date: Mon, 24 Apr 2023 23:37:26 -0400 Subject: [PATCH] libevent: fix sslSupport = false --- pkgs/development/libraries/libevent/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/libevent/default.nix b/pkgs/development/libraries/libevent/default.nix index bd5edec68a06..782d86f1f581 100644 --- a/pkgs/development/libraries/libevent/default.nix +++ b/pkgs/development/libraries/libevent/default.nix @@ -20,6 +20,8 @@ stdenv.mkDerivation rec { }) ]; + configureFlags = lib.optional (!sslSupport) "--disable-openssl"; + preConfigure = lib.optionalString (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11") '' MACOSX_DEPLOYMENT_TARGET=10.16 '';