Unverified Commit 85dfe83a authored by emilylange's avatar emilylange
Browse files

chromium: lower version range of `--ozone-platform-hint` patch

Ref: fb10ea41

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.
parent b71eeb5b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.