anchor.diff:      rm "$out"/lib/libkres.a
     '';
   
  -  doInstallCheck = stdenv.hostPlatform == stdenv.buildPlatform;
  +  # aarch64: see https://github.com/wahern/cqueues/issues/223
  +  doInstallCheck = with stdenv; hostPlatform == buildPlatform && !hostPlatform.isAarch64;
     installCheckInputs = [ cmocka which cacert ];
     installCheckPhase = ''
       meson test --print-errorlogs
  
positive.code: 
  unwrapped = stdenv.mkDerivation rec {
    name = "knot-resolver-${version}";
    version = "4.0.0";
  
    src = fetchurl {
      url = "https://secure.nic.cz/files/knot-resolver/${name}.tar.xz";
      sha256 = "37161d931e64535ce38c33b9635f06a43cd1541945bf2c79a55e37f230de1631";
    };
  
    outputs = [ "out" "dev" ];
  
negative.code:     description = "Caching validating DNS resolver, from .cz domain registry";
      homepage = https://knot-resolver.cz;
      license = licenses.gpl3Plus;
      platforms = platforms.unix;
      maintainers = [ maintainers.vcunat /* upstream developer */ ];
    };
  };
  