anchor.diff:      ./4.x-fix-makeflags-parsing.patch
     ];
   
  -  nativeBuildInputs = [ pkgconfig perl perl.pkgs.ParseYapp libxslt docbook_xsl docbook_xml_dtd_42 ]
  -  ++ optionals stdenv.isDarwin [ rpcgen fixDarwinDylibNames ];
  +  nativeBuildInputs = [
  +    pkgconfig
  +    perl
  +    perl.pkgs.ParseYapp
  +    libxslt
  +    docbook_xsl
  +    docbook_xml_dtd_42
  +  ] ++ optionals stdenv.isDarwin [
  +    rpcgen
  +    fixDarwinDylibNames
  +  ];
   
     buildInputs = [
  -    python readline popt iniparser jansson
  -    libbsd libarchive zlib fam libiconv gettext libunwind krb5Full gnutls
  +    python
  +    readline
  +    popt
  +    iniparser
  +    jansson
  +    libbsd
  +    libarchive
  +    zlib
  +    fam
  +    libiconv
  +    gettext
  +    libunwind
  +    krb5Full
  +    gnutls
     ] ++ optionals stdenv.isLinux [ libaio liburing systemd ]
       ++ optional enableLDAP openldap
       ++ optional (enablePrinting && stdenv.isLinux) cups
  
positive.code:   ] ++ singleton (if enableDomainController
           then "--with-experimental-mit-ad-dc"
           else "--without-ad-dc")
      ++ optionals (!enableLDAP) [ "--without-ldap" "--without-ads" ]
      ++ optional (!enableAcl) "--without-acl-support"
      ++ optional (!enablePam) "--without-pam";
  
    preBuild = ''
  
negative.code: { stdenv
  , fetchurl
  , python
  , pkgconfig
  , perl
  , libxslt
  , docbook_xsl
  , rpcgen
  , fixDarwinDylibNames
  , docbook_xml_dtd_42
  , readline
  , popt
  , iniparser
  , libbsd
  , libarchive
  , libiconv
  , gettext
  , krb5Full
  , zlib
  , openldap
  , cups
  , pam
  , avahi
  , acl
  , libaio
  , liburing
  , fam
  , libceph
  , glusterfs
  , gnutls
  , ncurses
  , libunwind
  , systemd
  , jansson
  , lmdb
  , gpgme
  , libuuid
  
  , enableLDAP ? false
  , enablePrinting ? false
  