mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-24 14:25:59 +01:00
Nix: fix debug build for nix
`nix build .#hyprland-debug` will now produce symbols for debug prupose
This commit is contained in:
parent
4d403dac32
commit
bff54d85d0
1 changed files with 3 additions and 0 deletions
|
@ -96,12 +96,15 @@ assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been remov
|
|||
then "debug"
|
||||
else "release";
|
||||
|
||||
dontStrip = debug;
|
||||
|
||||
mesonAutoFeatures = "disabled";
|
||||
|
||||
mesonFlags = builtins.concatLists [
|
||||
(lib.optional enableXWayland "-Dxwayland=enabled")
|
||||
(lib.optional legacyRenderer "-Dlegacy_renderer=enabled")
|
||||
(lib.optional withSystemd "-Dsystemd=enabled")
|
||||
(lib.optional debug "-Ddebug=${if debug then "true" else "false"}")
|
||||
];
|
||||
|
||||
patches = [
|
||||
|
|
Loading…
Reference in a new issue