Merge pull request #200102 from mweinelt/firefox-crashreporter
This commit is contained in:
commit
7266d56d34
1 changed files with 7 additions and 2 deletions
|
@ -22,6 +22,7 @@
|
|||
, pkgs
|
||||
, stdenv
|
||||
, fetchpatch
|
||||
, patchelf
|
||||
|
||||
# build time
|
||||
, autoconf
|
||||
|
@ -101,7 +102,7 @@
|
|||
# WARNING: NEVER set any of the options below to `true` by default.
|
||||
# Set to `!privacySupport` or `false`.
|
||||
|
||||
, crashreporterSupport ? !privacySupport
|
||||
, crashreporterSupport ? !privacySupport, curl
|
||||
, geolocationSupport ? !privacySupport
|
||||
, googleAPISupport ? geolocationSupport
|
||||
, mlsAPISupport ? geolocationSupport
|
||||
|
@ -263,7 +264,7 @@ buildStdenv.mkDerivation ({
|
|||
which
|
||||
wrapGAppsHook
|
||||
]
|
||||
++ lib.optionals crashreporterSupport [ dump_syms ]
|
||||
++ lib.optionals crashreporterSupport [ dump_syms patchelf ]
|
||||
++ lib.optionals pgoSupport [ xvfb-run ]
|
||||
++ extraNativeBuildInputs;
|
||||
|
||||
|
@ -534,6 +535,10 @@ buildStdenv.mkDerivation ({
|
|||
}
|
||||
'';
|
||||
|
||||
postFixup = lib.optionalString crashreporterSupport ''
|
||||
patchelf --add-rpath "${lib.makeLibraryPath [ curl ]}" $out/lib/${binaryName}/crashreporter
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
# Some basic testing
|
||||
|
|
Loading…
Reference in a new issue