breakpad: fix build on musl and modernise

This commit is contained in:
Conor
2026-07-12 12:09:42 +01:00
parent 7eb0fc0564
commit ec145f08f2

View File

@@ -13,17 +13,24 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "breakpad";
version = "2024.02.16";
__structuredAttrs = true;
src = fetchgit {
url = "https://chromium.googlesource.com/breakpad/breakpad";
rev = "v${finalAttrs.version}";
hash = "sha256-yk+TSzjmAr9QMTYduKVe/Aizph/NNmSS385pvGJckiQ=";
};
strictDeps = true;
enableParallelBuilding = true;
buildInputs = [ zlib ];
configureFlags = lib.optionals stdenv.hostPlatform.isMusl [ "--disable-tools" ];
postUnpack = ''
ln -s ${lss} $sourceRoot/src/third_party/lss
'';