mutter: apply patch to fix HDR with 50.4 (#552942)

This commit is contained in:
Peder Bergebakken Sundt
2026-08-16 22:59:11 +00:00
committed by GitHub

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