anchor.diff:          find database -name data.sql -exec sed -i 's|/usr/bin/||g' {} +
         '';
   
  +      preAutoreconf = ''
  +        for i in $(find . -type f -name "*.m4"); do
  +          substituteInPlace $i \
  +            --replace 'test -x "$PKG_CONFIG"' 'type -P "$PKG_CONFIG" >/dev/null'
  +        done
  +      '';
  +
         postInstall = ''
           mkdir -p $out/share/zabbix/database/
           cp -r include $out/
  
positive.code: { stdenv, fetchurl, pkgconfig, curl, libevent, libiconv, libxml2, openssl, pcre, zlib
  , jabberSupport ? true, iksemel
  , ldapSupport ? true, openldap
  , odbcSupport ? true, unixODBC
  
negative.code:         inherit sha256;
        };
  
        nativeBuildInputs = [ autoreconfHook pkgconfig ];
        buildInputs = [
          curl
          libevent
  