anchor.diff:        ./set-hostname.patch
       ];
   
  -  buildInputs = [ perl makeWrapper openldap ];
  +  nativeBuildInputs = [ perl ];
  +
  +  buildInputs = [ makeWrapper openldap ];
  +
  +  depsBuildBuild = [ buildPackages.stdenv.cc ];
   
     configureFlags = [
       "--enable-failover"
  
positive.code: { stdenv, fetchurl, perl, file, nettools, iputils, iproute, makeWrapper
  , coreutils, gnused, openldap ? null
  }:
  
  stdenv.mkDerivation rec {
  
negative.code:     "--enable-early-chroot"
      "--sysconfdir=/etc"
      "--localstatedir=/var"
      (lib.optional stdenv.isLinux "--with-randomdev=/dev/random")
    ] ++ stdenv.lib.optionals (openldap != null) [ "--with-ldap" "--with-ldapcrypto" ];
  
    NIX_CFLAGS_COMPILE = [ "-Wno-error=pointer-compare" ];
  