anchor.diff:  { stdenv, fetchurl, pkgconfig
   , zlib, bzip2, libiconv, libxml2, openssl, ncurses, curl, libmilter, pcre2
  -, libmspack, systemd, Foundation
  +, libmspack, systemd, Foundation, json_c, check
   }:
   
   stdenv.mkDerivation rec {
  
positive.code:     substituteInPlace Makefile.in --replace ' etc ' ' '
    '';
  
    nativeBuildInputs = [ pkgconfig ];
    buildInputs = [
      zlib bzip2 libxml2 openssl ncurses curl libiconv libmilter pcre2 libmspack
    ] ++ stdenv.lib.optional stdenv.isLinux systemd
      ++ stdenv.lib.optional stdenv.isDarwin Foundation;
  
  
negative.code:     mkdir $out/etc
      cp etc/*.sample $out/etc
    '';
  
    # Only required for the unit tests
    hardeningDisable = [ "format" ];
    doCheck = true;
  
    meta = with stdenv.lib; {
      homepage = "https://www.clamav.net";
  