From ec145f08f2d7b19808d3e23c614abab2a5221e8d Mon Sep 17 00:00:00 2001 From: Conor Date: Sun, 12 Jul 2026 12:09:42 +0100 Subject: [PATCH] breakpad: fix build on musl and modernise --- pkgs/by-name/br/breakpad/package.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/br/breakpad/package.nix b/pkgs/by-name/br/breakpad/package.nix index b6785405496c..9853e94d8975 100644 --- a/pkgs/by-name/br/breakpad/package.nix +++ b/pkgs/by-name/br/breakpad/package.nix @@ -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 '';