Nix: don't strip in debug builds

Strip in Release builds, as the non-stripped binary is almost 500MB.
This commit is contained in:
Mihai Fufezan 2024-06-17 13:14:26 +03:00
parent 9cb3bf1cac
commit 14ab0ecc5e
No known key found for this signature in database

View File

@ -152,7 +152,7 @@ assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been remov
else "RelWithDebInfo";
# we want as much debug info as possible
dontStrip = true;
dontStrip = debug;
cmakeFlags = [
(lib.cmakeBool "NO_XWAYLAND" (!enableXWayland))