anchor.diff:  { stdenv, fetchurl, pkgconfig, postgresql, curl, openssl, zlib }:
  -
  -assert stdenv.gcc.libc != null;
   
   let
   
  
positive.code:   server = stdenv.mkDerivation {
      name = "zabbix-${version}";
  
      inherit src;
  
      configureFlags = "--enable-agent --enable-server --with-pgsql --with-libcurl";
  
      preConfigure =
        ''
          substituteInPlace ./configure \
            --replace " -static" "" \
            --replace /usr/include/iconv.h ${stdenv.gcc.libc}/include/iconv.h
        '';
  
      buildInputs = [ pkgconfig postgresql curl openssl zlib ];
  
  
negative.code:   agent = stdenv.mkDerivation {
      name = "zabbix-agent-${version}";
  
      inherit src preConfigure;
  
      configureFlags = "--enable-agent";
  
      meta = {
        description = "An enterprise-class open source distributed monitoring solution (client-side agent)";
  