qt6.qtwebengine: disable debug info

This commit is contained in:
K900 2024-10-19 22:26:40 +03:00
parent d5c9b46499
commit b242971862
2 changed files with 4 additions and 1 deletions

View File

@ -258,6 +258,9 @@ qtModule {
export NINJAFLAGS="-j$NIX_BUILD_CORES"
'';
# Debug info is too big to link with LTO.
separateDebugInfo = false;
meta = with lib; {
description = "Web engine based on the Chromium web browser";
platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "armv7a-linux" "armv7l-linux" "x86_64-linux" ];

View File

@ -32,7 +32,7 @@ stdenv.mkDerivation (args // {
moveToDev = false;
outputs = args.outputs or [ "out" "dev" ];
separateDebugInfo = true;
separateDebugInfo = args.separateDebugInfo or true;
dontWrapQtApps = args.dontWrapQtApps or true;
}) // {