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 { stdenv, fetchurl, pkgconfig, autoreconfHook
, openssl, c-ares, libxml2, sqlite, zlib, libssh2 , openssl, c-ares, libxml2, sqlite, zlib, libssh2
, Security
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -12,7 +13,8 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ pkgconfig ]; 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" ]; configureFlags = [ "--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" ];

View file

@ -628,7 +628,10 @@ let
arc-gtk-theme = callPackage ../misc/themes/arc { }; 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; aria = aria2;
at = callPackage ../tools/system/at { }; at = callPackage ../tools/system/at { };