From 2164e39eaa943d1e5c7a6d729c143f16d5cf291e Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Wed, 12 Sep 2018 00:11:12 +0200 Subject: [PATCH] aria2: fix darwin build (#46548) Not released yet, see https://github.com/aria2/aria2/issues/1198 /cc ZHF #45961 --- pkgs/tools/networking/aria2/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/aria2/default.nix b/pkgs/tools/networking/aria2/default.nix index 028691229e3b..873aa66c4212 100644 --- a/pkgs/tools/networking/aria2/default.nix +++ b/pkgs/tools/networking/aria2/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook +{ stdenv, fetchpatch, fetchFromGitHub, pkgconfig, autoreconfHook , openssl, c-ares, libxml2, sqlite, zlib, libssh2 , cppunit , Security @@ -15,6 +15,14 @@ stdenv.mkDerivation rec { sha256 = "0hwqnjyszasr6049vr5mn48slb48v5kw39cbpbxa68ggmhj9bw6m"; }; + patches = [ + # Remove with 1.35.0. + (fetchpatch { + url = https://github.com/aria2/aria2/commit/e8e04d6f22a507e8374651d3d2343cd9fb986993.patch; + sha256 = "1v27nqbsdjgg3ga4n0v9daq21m3cmdpy7d08kp32200pzag87f4y"; + }) + ]; + nativeBuildInputs = [ pkgconfig autoreconfHook ]; buildInputs = [ openssl c-ares libxml2 sqlite zlib libssh2 ] ++