Skip to content

Commit

Permalink
qt6.qtwebengine: disable debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 committed Oct 19, 2024
1 parent d5c9b46 commit b242971
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pkgs/development/libraries/qt-6/modules/qtwebengine.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" ];
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/qt-6/qtModule.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}) // {
Expand Down

0 comments on commit b242971

Please sign in to comment.