anchor.diff:  { stdenv, fetchurl, perl, file, nettools, iputils, iproute, makeWrapper
   , coreutils, gnused, openldap ? null
  +, buildPackages, lib
   }:
   
   stdenv.mkDerivation rec {
  
positive.code:       ./set-hostname.patch
      ];
  
    buildInputs = [ perl makeWrapper openldap ];
  
    configureFlags = [
      "--enable-failover"
  
negative.code:       substituteInPlace configure --replace "/usr/bin/file" "${file}/bin/file"
        sed -i "includes/dhcpd.h" \
  	-"es|^ *#define \+_PATH_DHCLIENT_SCRIPT.*$|#define _PATH_DHCLIENT_SCRIPT \"$out/sbin/dhclient-script\"|g"
  
        export AR='${stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar'
      '';
  
    meta = with stdenv.lib; {
  