anchor.diff:      }
     '';
   
  +  postFixup = lib.optionalString crashreporterSupport ''
  +    patchelf --add-rpath "${lib.makeLibraryPath [ curl ]}" $out/lib/${binaryName}/crashreporter
  +  '';
  +
     doInstallCheck = true;
     installCheckPhase = ''
       # Some basic testing
  
positive.code:     which
      wrapGAppsHook
    ]
    ++ lib.optionals crashreporterSupport [ dump_syms ]
    ++ lib.optionals pgoSupport [ xvfb-run ]
    ++ extraNativeBuildInputs;
  
  
negative.code: # WARNING: NEVER set any of the options below to `true` by default.
  # Set to `!privacySupport` or `false`.
  
  , crashreporterSupport ? !privacySupport, curl
  , geolocationSupport ? !privacySupport
  , googleAPISupport ? geolocationSupport
  , mlsAPISupport ? geolocationSupport
  