tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
mir: Fetch patch to fix build
OPNA2608
2 years ago
89aefe0b
9e2743f8
+11
1 changed file
expand all
collapse all
unified
split
pkgs
servers
mir
default.nix
+11
pkgs/servers/mir/default.nix
···
1
1
{ stdenv
2
2
, lib
3
3
, fetchFromGitHub
4
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
50
+
51
51
+
patches = [
52
52
+
# Fix gbm-kms tests
53
53
+
# Remove when version > 2.15.0
54
54
+
(fetchpatch {
55
55
+
name = "0001-mir-Fix-the-signature-of-drmModeCrtcSetGamma.patch";
56
56
+
url = "https://github.com/MirServer/mir/commit/98250e9c32c5b9b940da2fb0a32d8139bbc68157.patch";
57
57
+
hash = "sha256-tTtOHGNue5rsppOIQSfkOH5sVfFSn/KPGHmubNlRtLI=";
58
58
+
})
59
59
+
];
49
60
50
61
postPatch = ''
51
62
# Fix scripts that get run in tests