anchor.diff:      chmod 0755 $out/bin/nss-config
     '';
   
  -  postFixup = ''
  +  postFixup = let
  +    isCross = stdenv.hostPlatform != stdenv.buildPlatform;
  +    nss = if isCross then buildPackages.nss.tools else "$out";
  +  in ''
       for libname in freebl3 nssdbm3 softokn3
       do '' +
       (if stdenv.isDarwin
  
positive.code: { stdenv, fetchurl, nspr, perl, zlib, sqlite, fixDarwinDylibNames }:
  
  let
    nssPEM = fetchurl {
  
negative.code:     sha256 = "1ihzqspvqjmysp1c15xxr7kqvj3zm9dqnanxhkaxyjgx71yv6z88";
    };
  
    depsBuildBuild = [ buildPackages.stdenv.cc ];
  
    nativeBuildInputs = [ perl ];
  
    buildInputs = [ zlib sqlite ]
      ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
  
    propagatedBuildInputs = [ nspr ];
  