anchor.diff:  
     buildInputs = [ lzo lzip libtasn1 libidn2 zlib gmp libunistring unbound gettext libiconv ]
       ++ lib.optional (withP11-kit) p11-kit
  -    ++ lib.optional (isDarwin && withSecurity) Security
       ++ lib.optional (tpmSupport && stdenv.isLinux) trousers
       ++ lib.optional guileBindings guile;
   
  
positive.code: 
    patches = [ ./nix-ssl-cert-file.patch ]
      # Disable native add_system_trust.
      ++ lib.optional (isDarwin && !withSecurity) ./no-security-framework.patch;
  
    # Skip some tests:
  
negative.code:     ++ lib.optionals (isDarwin && !withSecurity) [ autoconf automake ]
      ++ lib.optionals doCheck [ which nettools util-linux ];
  
    propagatedBuildInputs = [ nettle ]
      # Builds dynamically linking against gnutls seem to need the framework now.
      ++ lib.optional (isDarwin && withSecurity) Security;
  
    inherit doCheck;
    # stdenv's `NIX_SSL_CERT_FILE=/no-cert-file.crt` breaks tests.
  