git.iko.soy/typeable/nixpkgs
on master help sign in
knot-dns: upstream patch that should fix aarch64-darwin
commit39688bfb41799c5e836128b3126e966ab3585c6c authorVladimír Čunát <v@cunat.cz> dateSun 5 Sep 2021, 20:47 (5 years ago) parent105b9fc
1 file changed+6
pkgs/servers/dns/knot-dns/default.nix+6
pkgs/servers/dns/knot-dns/default.nix+6
@@ -1,6 +1,7 @@
11{ lib, stdenv, fetchurl, pkg-config, gnutls, liburcu, lmdb, libcap_ng, libidn2, libunistring
22, systemd, nettle, libedit, zlib, libiconv, libintl, libmaxminddb, libbpf, nghttp2, libmnl
33, autoreconfHook, nixosTests
4+, fetchpatch
45}:
56
67stdenv.mkDerivation rec {
@@ -25,6 +26,11 @@ stdenv.mkDerivation rec {
2526 # They are later created from NixOS itself.
2627 ./dont-create-run-time-dirs.patch
2728 ./runtime-deps.patch
29+ # rename task_t to worker_task_t to fix redefinition issues on (aach64-)darwin
30+ (fetchpatch {
31+ url = "https://gitlab.nic.cz/knot/knot-dns/-/commit/a70b718085f9b97e556970444313c37a702a60f7.diff";
32+ sha256 = "0m776pb9iga0lj2gadk23shfrcfrsrzlyaj8800klw7xh6qq32bm";
33+ })
2834 ];
2935
3036 nativeBuildInputs = [ pkg-config autoreconfHook ];