mutter: apply patch to fix HDR with 50.4

This commit is contained in:
Marco "Capypara" Köpcke
2026-08-15 12:32:42 +02:00
parent 5777823758
commit 0638e1cb05

View File

@@ -1,5 +1,6 @@
{
fetchurl,
fetchpatch,
runCommand,
lib,
stdenv,
@@ -184,6 +185,17 @@ stdenv.mkDerivation (finalAttrs: {
]))
];
patches = [
# Fix HDR corruption by reverting this commit. See:
# - https://gitlab.gnome.org/GNOME/mutter/-/work_items/4952
# - https://gitlab.gnome.org/GNOME/mutter/-/work_items/4967
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/mutter/-/commit/a1ae71798ef1ab2e0d2f753f5c98b38b1039b056.patch";
hash = "sha256-J2eKhM3YEFEVmcpMq2SxSOsPeEWrJTv+UcBDO+gRC4M=";
revert = true;
})
];
postPatch = ''
patchShebangs src/backends/native/gen-default-modes.py