mir: Fetch patch to fix build

OPNA2608 89aefe0b 9e2743f8

+11
+11
pkgs/servers/mir/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , gitUpdater 5 6 , testers 6 7 , cmake ··· 46 47 rev = "v${finalAttrs.version}"; 47 48 hash = "sha256-c1+gxzLEtNCjR/mx76O5QElQ8+AO4WsfcG7Wy1+nC6E="; 48 49 }; 50 + 51 + patches = [ 52 + # Fix gbm-kms tests 53 + # Remove when version > 2.15.0 54 + (fetchpatch { 55 + name = "0001-mir-Fix-the-signature-of-drmModeCrtcSetGamma.patch"; 56 + url = "https://github.com/MirServer/mir/commit/98250e9c32c5b9b940da2fb0a32d8139bbc68157.patch"; 57 + hash = "sha256-tTtOHGNue5rsppOIQSfkOH5sVfFSn/KPGHmubNlRtLI="; 58 + }) 59 + ]; 49 60 50 61 postPatch = '' 51 62 # Fix scripts that get run in tests