breakpad: fix build on musl and modernise (#541021)

This commit is contained in:
Aaron Andersen
2026-07-12 12:07:05 +00:00
committed by GitHub
+8 -1
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
'';