anchor.diff:  
     patches = [ ./locale_archive.patch ];
   
  -  buildInputs = [ zlib openssl libedit pkgconfig pam ] ++
  -    (if withKerberos then [ kerberos ] else [])
  -  ;
  +  buildInputs = [ zlib openssl libedit pkgconfig pam ]
  +    ++ stdenv.lib.optional withKerberos [ kerberos ];
   
     # I set --disable-strip because later we strip anyway. And it fails to strip
     # properly when cross building.
  
positive.code:       --with-libedit=yes
        --disable-strip
        ${if pam != null then "--with-pam" else "--without-pam"}
        ${if etcDir != null then "--sysconfdir=${etcDir}" else ""}
        ${if withKerberos  then "--with-kerberos5=${kerberos}" else ""}
      '';
  
    preConfigure =
  
negative.code: 
    installTargets = "install-nosysconf";
  
    meta = with stdenv.lib; {
      homepage = "http://www.openssh.org/";
      description = "An implementation of the SSH protocol";
      license = "bsd";
      platforms = platforms.unix;
      maintainers = with maintainers; [ eelco ];
    };
  }
  