anchor.diff:  
     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/{sbin,share}
  -    find $out/bin -type f | grep -v 'krb5-config' | xargs rm
  +    rm -rf $out/{bin,sbin,share}
     '';
   
     enableParallelBuilding = true;
  
positive.code:   optNcurses = if libOnly then null else shouldUsePkg ncurses;
    optLibverto = shouldUsePkg libverto;
    optOpenldap = if libOnly then null else shouldUsePkg openldap;
  
    # Prefer the openssl implementation
    cryptoStr = if optOpenssl != null then "openssl"
  
negative.code: 
  # Optional Dependencies
  , libedit ? null, readline ? null, ncurses ? null, libverto ? null
  , openldap ? null, db ? null
  
  # Crypto Dependencies
  , openssl ? null, nss ? null, nspr ? null
  