Merge pull request #125969 from cpcloud/aws-sdk-propagate

This commit is contained in:
Sandro 2021-06-09 01:56:36 +02:00 committed by GitHub
commit 01c1405f1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,15 +25,21 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake curl ]; nativeBuildInputs = [ cmake curl ];
buildInputs = [ buildInputs = [
curl openssl s2n-tls zlib curl openssl zlib
aws-c-common aws-c-event-stream aws-checksums
] ++ lib.optionals (stdenv.isDarwin && ] ++ lib.optionals (stdenv.isDarwin &&
((builtins.elem "text-to-speech" apis) || ((builtins.elem "text-to-speech" apis) ||
(builtins.elem "*" apis))) (builtins.elem "*" apis)))
[ CoreAudio AudioToolbox ]; [ CoreAudio AudioToolbox ];
# propagation is needed for Security.framework to be available when linking # propagation is needed for Security.framework to be available when linking
propagatedBuildInputs = [ aws-c-cal aws-c-io ]; propagatedBuildInputs = [
aws-c-cal
aws-c-event-stream
aws-c-io
aws-c-common
aws-checksums
s2n-tls
];
cmakeFlags = [ cmakeFlags = [
"-DBUILD_DEPS=OFF" "-DBUILD_DEPS=OFF"