anchor.diff:    passthru = {
       withSSL = true;
     };
  -}
  +} // stdenv.lib.optionalAttrs (stdenv.buildPlatform != stdenv.hostPlatform) {
  +  # This is set here to prevent rebuilds on native compilation.
  +  # Configure phase is a no-op there, because this package doesn't use ./configure scripts.
  +  configurePhase = ''
  +    echo "Cross-compilation, injecting make flags"
  +    makeFlagsArray+=("ARRC=${stdenv.hostPlatform.config}-ar rc")
  +  '';
  +})
  
positive.code:     then "osx"
      else "lnp" # Linux with PAM modules;
      # -fPIC is required to compile php with imap on x86_64 systems
      + stdenv.lib.optionalString stdenv.isx86_64 " EXTRACFLAGS=-fPIC";
  
    hardeningDisable = [ "format" ];
  
  
negative.code: {stdenv, fetchurl, pam, openssl}:
  
  stdenv.mkDerivation ({
    name = "uw-imap-2007f";
  
    src = fetchurl {
  