Merge pull request #114814 from bobrik/ivan/aws-c-io-security

aws-c-io: depend on Security.framework on darwin
This commit is contained in:
Sandro 2021-03-02 23:50:17 +01:00 committed by GitHub
commit 075bdea636
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, aws-c-cal, aws-c-common, s2n }:
{ lib, stdenv, fetchFromGitHub, cmake, aws-c-cal, aws-c-common, s2n, Security }:
stdenv.mkDerivation rec {
pname = "aws-c-io";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = [ aws-c-cal aws-c-common s2n ];
buildInputs = [ aws-c-cal aws-c-common s2n] ++ lib.optionals stdenv.isDarwin [ Security ];
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"

@ -13288,7 +13288,9 @@ in
aws-c-event-stream = callPackage ../development/libraries/aws-c-event-stream { };
aws-c-io = callPackage ../development/libraries/aws-c-io { };
aws-c-io = callPackage ../development/libraries/aws-c-io {
inherit (darwin.apple_sdk.frameworks) Security;
};
aws-checksums = callPackage ../development/libraries/aws-checksums { };