From 65346a4e796797e09db78dc1f76cb026a9aabc3f Mon Sep 17 00:00:00 2001 From: David McFarland Date: Mon, 23 Feb 2026 22:27:29 -0400 Subject: [PATCH] zlib: fix cygwin build Cygwin currently uses the same makefile as Windows, so it needs the same workaround. --- pkgs/development/libraries/zlib/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/zlib/default.nix b/pkgs/development/libraries/zlib/default.nix index d7f8229e17a9..72b0fcc207f7 100644 --- a/pkgs/development/libraries/zlib/default.nix +++ b/pkgs/development/libraries/zlib/default.nix @@ -6,7 +6,8 @@ static ? true, # If true, a separate .static output is created and the .a is moved there. # If false, and if `{ static = true; }`, the .a stays in the main output. - splitStaticOutput ? shared && static && !stdenv.hostPlatform.isWindows, + splitStaticOutput ? + shared && static && !(stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isCygwin), testers, minizip, }: