about summary refs log tree commit diff
diff options
context:
space:
mode:
authoremilylange <git@emilylange.de>2024-05-02 02:12:22 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-05-02 00:52:28 +0000
commit177ce9ca10c3620829fed67f8360aeebf02f110a (patch)
treeb22d4834111bf3c2a46b79a9945b5b09ff94719d
parent3559129e552af22237e0bee6184ec255eaf67533 (diff)
chromium: lower version range of `--ozone-platform-hint` patch
Ref: fb10ea41b2a080cb4ecac34aa12cf056d8d3f90e

We had to apply this patch from M125 to M124 because at the time,
chromium hasn't backported this to M124 yet.

Until now!

Or at least somewhat.

124.0.6367.118 shipped and has an equivalent patch now, which means that
this patch is no longer needed.

(Ignoring the fact that it no longer applies because of this anyway)

At least on chromium.

The thing is, ungoogled-chromium hasn't caught up with chromium yet,
meaning it is still on < .118 and thus still needs that patch.

(cherry picked from commit 85dfe83a86658f3fba80c050a774195f08fb378d)
-rw-r--r--pkgs/applications/networking/browsers/chromium/common.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix
index ad2e1620e70df..b93163e0fc9c1 100644
--- a/pkgs/applications/networking/browsers/chromium/common.nix
+++ b/pkgs/applications/networking/browsers/chromium/common.nix
@@ -248,8 +248,8 @@ let
       # Partial revert of https://github.com/chromium/chromium/commit/3687976b0c6d36cf4157419a24a39f6770098d61
       # allowing us to use our rustc and our clang.
       ./patches/chromium-121-rust.patch
-    ] ++ lib.optionals (chromiumVersionAtLeast "124" && !chromiumVersionAtLeast "125") [
-      # M124 shipped with broken --ozone-platform-hint flag handling, which we rely on
+    ] ++ lib.optionals (chromiumVersionAtLeast "124" && !chromiumVersionAtLeast "124.0.6367.118") [
+      # M124 < 124.0.6367.118 shipped with broken --ozone-platform-hint flag handling, which we rely on
       # for our NIXOS_OZONE_WL (wayland) environment variable.
       # See <https://issues.chromium.org/issues/329678163>.
       # This is the commit for the fix that landed in M125, which applies clean on M124.