diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2021-03-12 14:45:38 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2021-03-12 14:46:20 -0600 |
commit | 6255468c4e648f48ea49efc9ba598bce5ec768b8 (patch) | |
tree | 470603b4b7ac7c1c6d44587a7b09c180f831e123 /pkgs/development/libraries/aws-c-cal | |
parent | c5147860e23ed75ce9d40298c66b416c00be1167 (diff) |
aws-sdk-cpp: propagate Security framework
We need to propagate the Security framework to avoid getting ld: file not found: /System/Library/Frameworks/Security.framework/Versions/A/Security for architecture x86_64 on linking aws-sdk-cpp libraries.
Diffstat (limited to 'pkgs/development/libraries/aws-c-cal')
-rw-r--r-- | pkgs/development/libraries/aws-c-cal/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/aws-c-cal/default.nix b/pkgs/development/libraries/aws-c-cal/default.nix index 057aad447d5e2..3246c572962ff 100644 --- a/pkgs/development/libraries/aws-c-cal/default.nix +++ b/pkgs/development/libraries/aws-c-cal/default.nix @@ -13,7 +13,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; - buildInputs = [ aws-c-common openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; + buildInputs = [ aws-c-common openssl ]; + + propagatedBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" |