darwin purity: aria2
This commit is contained in:
parent
12d49bbe66
commit
333ed12c70
@ -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" ];
|
||||||
|
|
||||||
|
@ -628,7 +628,9 @@ let
|
|||||||
|
|
||||||
inherit (androidenv) androidsdk_4_4 androidndk;
|
inherit (androidenv) androidsdk_4_4 androidndk;
|
||||||
|
|
||||||
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 { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user