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
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg

View file

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