diff --git a/pkgs/applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/default.nix b/pkgs/applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/default.nix index 75d3e1d6ef9c..23cb13795695 100644 --- a/pkgs/applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/default.nix +++ b/pkgs/applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/default.nix @@ -24,6 +24,7 @@ wayland, wayland-protocols, wayland-scanner, + debug ? false, }: gcc14Stdenv.mkDerivation (finalAttrs: { pname = "xdg-desktop-portal-hyprland"; @@ -65,6 +66,10 @@ gcc14Stdenv.mkDerivation (finalAttrs: { wayland-scanner ]; + cmakeBuildType = if debug then "Debug" else "RelWithDebInfo"; + + dontStrip = debug; + dontWrapQtApps = true; postInstall = ''