git.iko.soy/typeable/nixpkgs
on master help sign in
aria2: fix darwin build (#46548)

Not released yet, see https://github.com/aria2/aria2/issues/1198 /cc ZHF #45961

commit2164e39eaa943d1e5c7a6d729c143f16d5cf291e authorDaiderd Jordan <daiderd@gmail.com> dateWed 12 Sep 2018, 00:11 (8 years ago) parent67a1f50
1 file changed+9−1
pkgs/tools/networking/aria2/default.nix+9−1
pkgs/tools/networking/aria2/default.nix+9−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook
1+{ stdenv, fetchpatch, fetchFromGitHub, pkgconfig, autoreconfHook
22, openssl, c-ares, libxml2, sqlite, zlib, libssh2
33, cppunit
44, Security
@@ -15,6 +15,14 @@ stdenv.mkDerivation rec {
1515 sha256 = "0hwqnjyszasr6049vr5mn48slb48v5kw39cbpbxa68ggmhj9bw6m";
1616 };
1717
18+ patches = [
19+ # Remove with 1.35.0.
20+ (fetchpatch {
21+ url = https://github.com/aria2/aria2/commit/e8e04d6f22a507e8374651d3d2343cd9fb986993.patch;
22+ sha256 = "1v27nqbsdjgg3ga4n0v9daq21m3cmdpy7d08kp32200pzag87f4y";
23+ })
24+ ];
25+
1826 nativeBuildInputs = [ pkgconfig autoreconfHook ];
1927
2028 buildInputs = [ openssl c-ares libxml2 sqlite zlib libssh2 ] ++