From ce16d6fdd3a0803062eb5ca31ed1a72c0b7fb83c Mon Sep 17 00:00:00 2001 From: David McFarland Date: Sat, 20 Dec 2025 21:25:20 -0400 Subject: [PATCH] packaging: disable LTO on cygwin This was already done for windows, and it fails in the same way. --- packaging/components.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/components.nix b/packaging/components.nix index dbf2180e8..0d0159843 100644 --- a/packaging/components.nix +++ b/packaging/components.nix @@ -133,7 +133,7 @@ let + lib.optionalString ( - !stdenv.hostPlatform.isWindows + !(stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isCygwin) # build failure && !stdenv.hostPlatform.isStatic # LTO breaks exception handling on x86-64-darwin.