darwin purity: aria2

This commit is contained in:
Jude Taylor 2015-09-30 00:34:02 -07:00
parent 020bd4a723
commit 42fffee9da
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,6 @@
{ stdenv, fetchurl, pkgconfig, autoreconfHook
, openssl, c-ares, libxml2, sqlite, zlib, libssh2
, Security
}:
stdenv.mkDerivation rec {
@ -12,7 +13,8 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl c-ares libxml2 sqlite zlib libssh2 ];
buildInputs = [ openssl c-ares libxml2 sqlite zlib libssh2 ] ++
stdenv.lib.optional stdenv.isDarwin Security;
configureFlags = [ "--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" ];

View File

@ -628,7 +628,10 @@ let
arc-gtk-theme = callPackage ../misc/themes/arc { };
aria2 = callPackage ../tools/networking/aria2 { };
aria2 = callPackage ../tools/networking/aria2 {
inherit (darwin.apple_sdk.frameworks) Security;
};
aria = aria2;
at = callPackage ../tools/system/at { };