anchor.diff:      "is_clang=${lib.boolToString stdenv.cc.isClang}"
       "use_sysroot=false"
       # "use_system_icu=true"
  +    "clang_use_chrome_plugins=false"
       "is_component_build=false"
       "v8_use_external_startup_data=false"
       "v8_monolithic=true"
  
positive.code:     "treat_warnings_as_errors=false"
      "v8_enable_i18n_support=true"
      "use_gold=false"
      "use_system_xcode=true"
      # ''custom_toolchain="//build/toolchain/linux/unbundle:default"''
      ''host_toolchain="//build/toolchain/linux/unbundle:default"''
      ''v8_snapshot_toolchain="//build/toolchain/linux/unbundle:default"''
    ] ++ lib.optional stdenv.cc.isClang ''clang_base_path="${stdenv.cc}"'';
  
    NIX_CFLAGS_COMPILE = "-O2";
  
    nativeBuildInputs = [ gn ninja pkg-config python ]
      ++ lib.optionals stdenv.isDarwin [ xcbuild darwin.DarwinTools ];
    buildInputs = [ glib icu ];
  
    ninjaFlags = [ ":d8" "v8_monolith" ];
  
negative.code:   postPatch = lib.optionalString stdenv.isAarch64 ''
      substituteInPlace build/toolchain/linux/BUILD.gn \
        --replace 'toolprefix = "aarch64-linux-gnu-"' 'toolprefix = ""'
    '' + lib.optionalString stdenv.isDarwin ''
      substituteInPlace build/config/compiler/compiler.gni \
        --replace 'strip_absolute_paths_from_debug_symbols = true' \
                  'strip_absolute_paths_from_debug_symbols = false'
      substituteInPlace build/config/compiler/BUILD.gn \
        --replace 'current_toolchain == host_toolchain || !use_xcode_clang' \
                  'false'
    '';
  
    gnFlags = [
  