anchor.diff:      "--with-mysql"
       "--with-path-sendmail=${system-sendmail}/bin/sendmail"
       "--with-mail-rc=/etc/mail.rc"
  +    "DEFAULT_CUPS_CONFDIR=${mailcap}/etc" # provides mime.types to mimeview
     ];
   
     readmsg-tests = let
  
positive.code:   '';
  
    nativeBuildInputs = [
      autoreconfHook gettext pkg-config
    ];
  
    buildInputs = [
      gdbm pam readline ncurses gnutls guile texinfo gnum4 sasl fribidi
      gss libmysqlclient python3
    ] ++ lib.optionals stdenv.isLinux [ nettools ];
  
    patches = [
  
negative.code: { lib
  , stdenv
  , fetchurl
  , fetchpatch
  , autoreconfHook
  , dejagnu
  , gettext
  , gnum4
  , pkg-config
  , texinfo
  , fribidi
  , gdbm
  , gnutls
  , gss
  , guile
  , libmysqlclient
  , mailcap
  , nettools
  , pam
  , readline
  , ncurses
  , python3
  , sasl
  , system-sendmail
  }:
  
  stdenv.mkDerivation rec {
    pname = "mailutils";
    version = "3.14";
  
    src = fetchurl {
      url = "mirror://gnu/${pname}/${pname}-${version}.tar.xz";
      hash = "sha256-wMWzj+qLRaSvzUNkh/Knb9VSUJLQN4gTputVQsIScTk=";
    };
  
    postPatch = ''
  