anchor.diff:  , libvaSupport ? true, libva
   
   # For Vulkan support (--enable-features=Vulkan)
  -, vulkanSupport ? true, vulkan-loader
  +, addOpenGLRunpath
   }:
   
   with lib;
  
positive.code:     makeWrapper "$out/share/google/$appname/google-$appname" "$exe" \
        --prefix LD_LIBRARY_PATH : "$rpath" \
        --prefix PATH            : "$binpath" \
        --prefix XDG_DATA_DIRS   : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \
        --add-flags ${escapeShellArg commandLineArgs}
  
      for elf in $out/share/google/$appname/{chrome,chrome-sandbox,${crashpadHandlerBinary},nacl_helper}; do
  
negative.code:     libxkbcommon pipewire wayland
    ] ++ optional pulseSupport libpulseaudio
      ++ optional libvaSupport libva
      ++ [ gtk3 ];
  
    suffix = if channel != "stable" then "-" + channel else "";
  