summaryrefslogtreecommitdiff
path: root/nix/default.nix
diff options
context:
space:
mode:
authorMihai Fufezan <mihai@fufexan.net>2024-11-07 10:52:12 +0200
committerMihai Fufezan <mihai@fufexan.net>2024-11-07 10:54:52 +0200
commite58e97b0a38b8ccc87a4304c9e4e2b37c9966875 (patch)
tree51819a79ac509d2e2b1fb201da9e0a9e69636544 /nix/default.nix
parent2dd0b2af71b2bd37f1febc608897f56d1eabab4c (diff)
Nix: build aquamarine and hyprutils in debug when using hyprland-debug
Diffstat (limited to 'nix/default.nix')
-rw-r--r--nix/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nix/default.nix b/nix/default.nix
index d463e271..29d31485 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -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;