Nix: build aquamarine and hyprutils in debug when using hyprland-debug

This commit is contained in:
Mihai Fufezan
2024-11-07 10:52:12 +02:00
parent 2dd0b2af71
commit e58e97b0a3
2 changed files with 8 additions and 4 deletions

View File

@@ -56,6 +56,7 @@
adapters = flatten [
stdenvAdapters.useMoldLinker
(lib.optional debug stdenvAdapters.keepDebugInfo)
];
customStdenv = foldl' (acc: adapter: adapter acc) stdenv adapters;
@@ -147,9 +148,6 @@ in
then "debugoptimized"
else "release";
# we want as much debug info as possible
dontStrip = debug;
mesonFlags = flatten [
(mapAttrsToList mesonEnable {
"xwayland" = enableXWayland;