mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
f8fc20df2b
Failing Hydra build: https://hydra.nixos.org/build/155160812
Fix derived from Fedora's Chromium fix[1].
[1] c3fea07699/f/chromium-92.0.4515.107-rawhide-gcc-std-max-fix.patch
36 lines
1.0 KiB
Nix
36 lines
1.0 KiB
Nix
{ lib, stdenv, fetchgit }:
|
|
let
|
|
lss = fetchgit {
|
|
url = "https://chromium.googlesource.com/linux-syscall-support";
|
|
rev = "d9ad2969b369a9f1c455fef92d04c7628f7f9eb8";
|
|
sha256 = "952dv+ZE1ge/WF5RyHmEqht+AofoRHKAeFmGasVF9BA=";
|
|
};
|
|
in stdenv.mkDerivation {
|
|
pname = "breakpad";
|
|
|
|
version = "unstable-3b3469e";
|
|
|
|
src = fetchgit {
|
|
url = "https://chromium.googlesource.com/breakpad/breakpad";
|
|
rev = "3b3469e9ed0de3d02e4450b9b95014a4266cf2ff";
|
|
sha256 = "bRGOBrGPK+Zxp+KK+E5MFkYlDUNVhVeInVSwq+eCAF0=";
|
|
};
|
|
|
|
postUnpack = ''
|
|
ln -s ${lss} $sourceRoot/src/third_party/lss
|
|
'';
|
|
|
|
postPatch = ''
|
|
substituteInPlace src/client/linux/handler/exception_handler.cc \
|
|
--replace "max(16384" "max(static_cast<long>(16384)"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "An open-source multi-platform crash reporting system";
|
|
homepage = "https://chromium.googlesource.com/breakpad";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ berberman ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|