Merge pull request #289214 from dotlambda/brave-auto-update

brave: disable automatic updates
This commit is contained in:
Robert Schütz 2024-03-05 03:44:49 +00:00 committed by GitHub
commit a54c624f47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,8 +87,9 @@ let
enableFeatures = optionals enableVideoAcceleration [ "VaapiVideoDecoder" "VaapiVideoEncoder" ]
++ optional enableVulkan "Vulkan";
disableFeatures = [ "OutdatedBuildDetector" ] # disable automatic updates
# The feature disable is needed for VAAPI to work correctly: https://github.com/brave/brave-browser/issues/20935
disableFeatures = optional enableVideoAcceleration "UseChromeOSDirectVideoDecoder";
++ optionals enableVideoAcceleration [ "UseChromeOSDirectVideoDecoder" ];
in
stdenv.mkDerivation rec {