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:
commit
075bdea636
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user