c-ares: fix android build

https://hydra.nixos.org/build/79244764

+9
+9
pkgs/development/libraries/c-ares/default.nix
··· 9 9 sha256 = "0vnwmbvymw677k780kpb6sb8i3szdp89rzy8mz1fwg1657yw3ls5"; 10 10 }; 11 11 12 + # ares_android.h header is missing 13 + # see issue https://github.com/c-ares/c-ares/issues/216 14 + postPatch = if stdenv.hostPlatform.isAndroid then '' 15 + cp ${fetchurl { 16 + url = "https://raw.githubusercontent.com/c-ares/c-ares/cares-1_14_0/ares_android.h"; 17 + sha256 = "1aw8y6r5c8zq6grjwf4mcm2jj35r5kgdklrp296214s1f1827ps8"; 18 + }} ares_android.h 19 + '' else null; 20 + 12 21 meta = with stdenv.lib; { 13 22 description = "A C library for asynchronous DNS requests"; 14 23 homepage = https://c-ares.haxx.se;