diff --git a/pkgs/top-level/static.nix b/pkgs/top-level/static.nix index b3851ba20f0..caea8040620 100644 --- a/pkgs/top-level/static.nix +++ b/pkgs/top-level/static.nix @@ -281,8 +281,8 @@ in { python39 = super.python39.override { static = true; }; python3Minimal = super.python3Minimal.override { static = true; }; - - libev = super.libev.override { static = true; }; + # Note: -static doesn’t work on darwin + libev = super.libev.override { static = !super.stdenv.hostPlatform.isDarwin; }; libexecinfo = super.libexecinfo.override { enableShared = false; };