mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
breakpad: fix build on musl and modernise
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user