lol

pythonPackages.libasyncns: fix build with glibc-2.25

+17 -1
+2
pkgs/development/python-modules/libasyncns.nix pkgs/development/python-modules/libasyncns/default.nix
··· 10 10 sha256 = "1q4l71b2h9q756x4pjynp6kczr2d8c1jvbdp982hf7xzv7w5gxqg"; 11 11 }; 12 12 13 + patches = [ ./libasyncns-fix-res-consts.patch ]; 14 + 13 15 buildInputs = [ libasyncns ]; 14 16 nativeBuildInputs = [ pkgconfig ]; 15 17 doCheck = false; # requires network access
+14
pkgs/development/python-modules/libasyncns/libasyncns-fix-res-consts.patch
··· 1 + diff --git a/libasyncns.c b/libasyncns.c 2 + index 99a73de..85709b0 100644 3 + --- a/libasyncns.c 4 + +++ b/libasyncns.c 5 + @@ -134,9 +134,8 @@ PyMODINIT_FUNC initlibasyncns(void) 6 + ADDNSCONST(ns_t_mailb); 7 + ADDNSCONST(ns_t_maila); 8 + ADDNSCONST(ns_t_any); 9 + - ADDNSCONST(ns_t_zxfr); 10 + ADDNSCONST(ns_t_max); 11 + 12 + ADDNSCONST(ns_c_invalid); 13 + ADDNSCONST(ns_c_in); 14 + ADDNSCONST(ns_c_2);
+1 -1
pkgs/top-level/python-packages.nix
··· 28176 28176 buildInputs = with self; [ pytest pkgs.glibcLocales ]; 28177 28177 }; 28178 28178 28179 - libasyncns = callPackage ../development/python-modules/libasyncns.nix { 28179 + libasyncns = callPackage ../development/python-modules/libasyncns { 28180 28180 inherit (pkgs) libasyncns pkgconfig; 28181 28181 }; 28182 28182