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
{ stdenv
2
, lib
3
, fetchFromGitHub
0
4
, gitUpdater
5
, testers
6
, cmake
···
46
rev = "v${finalAttrs.version}";
47
hash = "sha256-c1+gxzLEtNCjR/mx76O5QElQ8+AO4WsfcG7Wy1+nC6E=";
48
};
0
0
0
0
0
0
0
0
0
0
49
50
postPatch = ''
51
# Fix scripts that get run in tests
···
1
{ stdenv
2
, lib
3
, fetchFromGitHub
4
+
, fetchpatch
5
, gitUpdater
6
, testers
7
, cmake
···
47
rev = "v${finalAttrs.version}";
48
hash = "sha256-c1+gxzLEtNCjR/mx76O5QElQ8+AO4WsfcG7Wy1+nC6E=";
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
+
];
60
61
postPatch = ''
62
# Fix scripts that get run in tests