Unverified Commit bb017341 authored by Austin Horstman's avatar Austin Horstman
Browse files

xdg-desktop-portal-hyprland: add debug flag

parent 22f3a808
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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 = ''