anchor.diff:      runHook postBuild
     '';
   
  -  installPhase = optionalString libOnly ''
  +  installPhase = lib.optionalString libOnly ''
       runHook preInstall
   
       mkdir -p "$out"/{bin,sbin,lib/pkgconfig,share/{et,man/man1}} \
  
positive.code: let
    libOnly = type == "lib";
  in
  with lib;
  stdenv.mkDerivation rec {
    pname = "${type}krb5";
    version = "1.20";
  
    src = fetchurl {
      url = "https://kerberos.org/dist/krb5/${versions.majorMinor version}/krb5-${version}.tar.gz";
      sha256 = "sha256-fgIr3TyFGDAXP5+qoAaiMKDg/a1MlT6Fv/S/DaA24S8";
    };
  
  
negative.code:   enableParallelBuilding = true;
    doCheck = false; # fails with "No suitable file for testing purposes"
  
    meta = with lib; {
      description = "MIT Kerberos 5";
      homepage = "http://web.mit.edu/kerberos/";
      license = licenses.mit;
  