mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
mutter: apply patch to fix HDR with 50.4 (#552942)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user