git.iko.soy/typeable/nixpkgs
on master help sign in
botan: fix macOS build
commit3baff95efd0da6805cc82835a986ef142c3e4147 authorMatthew Bauer <mjbauer95@gmail.com> dateSat 8 Apr 2017, 23:49 (10 years ago) parent8dbefea
1 file changed+3−1
pkgs/development/libraries/botan/generic.nix+3−1
pkgs/development/libraries/botan/generic.nix+3−1
@@ -3,6 +3,7 @@
33, baseVersion, revision, sha256
44, extraConfigureFlags ? ""
55, postPatch ? null
6+, darwin
67, ...
78}:
89
@@ -20,7 +21,8 @@ stdenv.mkDerivation rec {
2021 };
2122 inherit postPatch;
2223
23− buildInputs = [ python bzip2 zlib gmp openssl boost ];
24+ buildInputs = [ python bzip2 zlib gmp openssl boost ]
25+ ++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
2426
2527 configurePhase = ''
2628 python configure.py --prefix=$out --with-bzip2 --with-zlib ${if openssl != null then "--with-openssl" else ""} ${extraConfigureFlags}${if stdenv.cc.isClang then " --cc=clang" else "" }