xdg-desktop-portal-hyprland: add debug flag

This commit is contained in:
Austin Horstman
2025-01-28 13:15:03 -06:00
parent 22f3a8081a
commit bb0173418c
@@ -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 = ''