about summary refs log tree commit diff
path: root/pkgs/development/libraries/aws-c-cal
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2021-01-06 08:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2021-01-06 08:20:00 +0000
commit4cf06c9f8c43a211adc4c6d1b790eae319cb698a (patch)
treefd61a69bb679dce809892674105e581db6ea028c /pkgs/development/libraries/aws-c-cal
parentce28a489a9f8e03c528290853a0ec5df8c25321c (diff)
aws-c-cal: fix build on darwin
Diffstat (limited to 'pkgs/development/libraries/aws-c-cal')
-rw-r--r--pkgs/development/libraries/aws-c-cal/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/aws-c-cal/default.nix b/pkgs/development/libraries/aws-c-cal/default.nix
index 5a39e39390dba..057aad447d5e2 100644
--- a/pkgs/development/libraries/aws-c-cal/default.nix
+++ b/pkgs/development/libraries/aws-c-cal/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, cmake, aws-c-common, openssl }:
+{ lib, stdenv, fetchFromGitHub, cmake, aws-c-common, openssl, Security }:
 
 stdenv.mkDerivation rec {
   pname = "aws-c-cal";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ cmake ];
 
-  buildInputs = [ aws-c-common openssl ];
+  buildInputs = [ aws-c-common openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
 
   cmakeFlags = [
     "-DBUILD_SHARED_LIBS=ON"