From 14ab0ecc5eb3c437dd62f92629fc29e33679043b Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Mon, 17 Jun 2024 13:14:26 +0300 Subject: Nix: don't strip in debug builds Strip in Release builds, as the non-stripped binary is almost 500MB. --- nix/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/default.nix b/nix/default.nix index 6b5068bc..a2302688 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -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)) -- cgit v1.2.3