anchor.diff:    optNcurses = if libOnly then null else shouldUsePkg ncurses;
     optLibverto = shouldUsePkg libverto;
     optOpenldap = if libOnly then null else shouldUsePkg openldap;
  +  optDb = if libOnly then null else shouldUsePkg db;
   
     # Prefer the openssl implementation
     cryptoStr = if optOpenssl != null then "openssl"
  
positive.code:     (mkWith   (optLibverto != null)         "system-verto"        null)
      (mkWith   (optOpenldap != null)         "ldap"                null)
      (mkWith   false                         "tcl"                 null)
      (mkWith   false                         "system-db"           null)  # Requires db v1.85
    ];
  
    buildPhase = optionalString libOnly ''
  
negative.code: 
    installPhase = optionalString libOnly ''
      mkdir -p $out/{bin,include/{gssapi,gssrpc,kadm5,krb5},lib/pkgconfig,sbin,share/{et,man/man1}}
      (cd util; make install)
      (cd include; make install)
      (cd lib; make install)
      (cd build-tools; make install)
      rm -rf $out/{bin,sbin,share}
    '';
  
    enableParallelBuilding = true;
  