diff options
author | Shea Levy <shea@shealevy.com> | 2022-05-18 06:40:21 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2022-05-18 06:40:21 -0400 |
commit | 7456be85db41b32e0f3e2e7bd4371d4d4bd15816 (patch) | |
tree | 19b666c52d0173a24ec354c9bb442266aed8ab78 /pkgs/applications/networking/browsers/firefox/common.nix | |
parent | 89ad105c2ec46cf2e588138eaa831731476377fe (diff) | |
parent | 3582135fe9589d0c823309cd38bebef37de369fd (diff) |
Merge branch 'staging-next' into staging
Diffstat (limited to 'pkgs/applications/networking/browsers/firefox/common.nix')
-rw-r--r-- | pkgs/applications/networking/browsers/firefox/common.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix index 252e55f248276..5700f6cd93dc2 100644 --- a/pkgs/applications/networking/browsers/firefox/common.nix +++ b/pkgs/applications/networking/browsers/firefox/common.nix @@ -177,8 +177,8 @@ buildStdenv.mkDerivation ({ outputs = [ "out" - "symbols" - ]; + ] + ++ lib.optionals crashreporterSupport [ "symbols" ]; # Add another configure-build-profiling run before the final configure phase if we build with pgo preConfigurePhases = lib.optionals pgoSupport [ @@ -212,7 +212,6 @@ buildStdenv.mkDerivation ({ nativeBuildInputs = [ autoconf cargo - dump_syms gnum4 llvmPackagesBuildBuild.bintools makeWrapper @@ -227,6 +226,7 @@ buildStdenv.mkDerivation ({ which wrapGAppsHook ] + ++ lib.optionals crashreporterSupport [ dump_syms ] ++ lib.optionals pgoSupport [ xvfb-run ] ++ extraNativeBuildInputs; @@ -437,11 +437,11 @@ buildStdenv.mkDerivation ({ # Generate build symbols once after the final build # https://firefox-source-docs.mozilla.org/crash-reporting/uploading_symbol.html - preInstall = '' + preInstall = lib.optionalString crashreporterSupport '' ./mach buildsymbols mkdir -p $symbols/ cp mozobj/dist/*.crashreporter-symbols.zip $symbols/ - + '' + '' cd mozobj ''; |