unittest-cpp: add gcc12 patch
This commit is contained in:
parent
713db8d8f8
commit
99c7bd7302
1 changed files with 14 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
||||||
{lib, stdenv, fetchFromGitHub, cmake}:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
, cmake
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "unittest-cpp";
|
pname = "unittest-cpp";
|
||||||
|
@ -11,6 +16,14 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0sxb3835nly1jxn071f59fwbdzmqi74j040r81fanxyw3s1azw0i";
|
sha256 = "0sxb3835nly1jxn071f59fwbdzmqi74j040r81fanxyw3s1azw0i";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# GCC12 Patch
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/unittest-cpp/unittest-cpp/pull/185/commits/f361c2a1034c02ba8059648f9a04662d6e2b5553.patch";
|
||||||
|
hash = "sha256-xyhV2VBelw/uktUXSZ3JBxgG+8/Mout/JiXEZVV2+2Y=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
Loading…
Reference in a new issue