mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
reproc: fix build, add upstream patches for gcc-13
This commit is contained in:
parent
5416b08831
commit
8cfd22b876
@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchFromGitHub, cmake
|
||||
{ stdenv, lib, fetchFromGitHub, cmake, fetchpatch
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -12,6 +12,19 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-LWzBeKhE7cSiZsK8xWzoTdrOcPiU/zEkmi40WiFytic=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch{
|
||||
name = "reproc-gcc-13-2.patch";
|
||||
url = "https://github.com/DaanDeMeyer/reproc/commit/0b23d88894ccedde04537fa23ea55cb2f8365342.patch";
|
||||
sha256 = "sha256-QyC0UcKAWCKSvSvyZTLI2eF/TuuqbGGH6cOQrS2DiCE=";
|
||||
})
|
||||
(fetchpatch{
|
||||
name = "reproc-gcc-13-1.patch";
|
||||
url = "https://github.com/DaanDeMeyer/reproc/commit/9f399675b821e175f85ac3ee6e3fd2e6056573eb.patch";
|
||||
sha256 = "sha256-h/gnDFPWPpUFkys10YXjjEPibgRT1atHSVwbO0kId+U=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
cmakeFlags = [
|
||||
|
Loading…
Reference in New Issue
Block a user