[Backport release-26.05] hypr*: Enable separateDebugInfo (#537928)

This commit is contained in:
Donovan Glover
2026-07-02 23:13:16 +00:00
committed by GitHub
14 changed files with 35 additions and 1 deletions

View File

@@ -67,6 +67,7 @@ stdenv.mkDerivation (finalAttrs: {
cmakeBuildType = if debug then "Debug" else "RelWithDebInfo";
dontStrip = debug;
separateDebugInfo = !debug;
dontWrapQtApps = true;

View File

@@ -63,6 +63,7 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
];
cmakeBuildType = "RelWithDebInfo";
separateDebugInfo = true;
passthru.updateScript = nix-update-script { };

View File

@@ -43,6 +43,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
"lib"
];
cmakeBuildType = "RelWithDebInfo";
separateDebugInfo = true;
passthru.updateScript = nix-update-script { };
meta = {

View File

@@ -59,6 +59,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
doCheck = true;
cmakeBuildType = "RelWithDebInfo";
separateDebugInfo = true;
passthru = {
updateScript = nix-update-script { };
};

View File

@@ -45,6 +45,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
wayland-protocols
];
cmakeBuildType = "RelWithDebInfo";
separateDebugInfo = true;
passthru = {
updateScript = nix-update-script { };
};

View File

@@ -51,6 +51,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
qtWrapperArgs+=(--prefix PATH : "${makeBinPath [ pciutils ]}")
'';
cmakeBuildType = "RelWithDebInfo";
separateDebugInfo = true;
meta = {
description = "Hyprland QT/qml utility apps";
homepage = "https://github.com/hyprwm/hyprland-qtutils";

View File

@@ -185,6 +185,7 @@ customStdenv.mkDerivation (finalAttrs: {
cmakeBuildType = if debug then "Debug" else "RelWithDebInfo";
dontStrip = debug;
separateDebugInfo = !debug;
strictDeps = true;
cmakeFlags = mapAttrsToList cmakeBool {

View File

@@ -34,6 +34,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
doCheck = true;
cmakeBuildType = "RelWithDebInfo";
separateDebugInfo = true;
meta = {
homepage = "https://github.com/hyprwm/hyprlang";
description = "Official implementation library for the hypr config language";

View File

@@ -72,6 +72,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
ln -s $out/share/hypr/hyprlock.conf $out/etc/xdg/hypr/hyprlock.conf
'';
cmakeBuildType = "RelWithDebInfo";
separateDebugInfo = true;
passthru.updateScript = nix-update-script { };
meta = {

View File

@@ -90,6 +90,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
cmakeBuildType = "RelWithDebInfo";
separateDebugInfo = true;
meta = {
inherit (finalAttrs.src.meta) homepage;
description = "Blazing fast wayland wallpaper utility";

View File

@@ -29,7 +29,10 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
hash = "sha256-ABumeksE8Bvtdb6g4vJ2jA9BLlYHnXU86VAuKJhBPoY=";
};
cmakeBuildType = if debug then "Debug" else "Release";
cmakeBuildType = if debug then "Debug" else "RelWithDebInfo";
dontStrip = debug;
separateDebugInfo = !debug;
nativeBuildInputs = [
cmake

View File

@@ -46,6 +46,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
strictDeps = true;
cmakeBuildType = "RelWithDebInfo";
separateDebugInfo = true;
passthru = {
updateScript = nix-update-script { };
};

View File

@@ -34,6 +34,7 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
];
cmakeBuildType = "RelWithDebInfo";
separateDebugInfo = true;
passthru.updateScript = nix-update-script { };

View File

@@ -31,6 +31,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
pugixml
];
cmakeBuildType = "RelWithDebInfo";
separateDebugInfo = true;
meta = {
inherit (finalAttrs.src.meta) homepage;
description = "A fast and consistent wire protocol for IPC ";