From ba03f57c17460d36dc222dcb3aae46b1e6dc173e Mon Sep 17 00:00:00 2001 From: Tobias Mayer Date: Tue, 17 Mar 2026 15:16:09 +0100 Subject: [PATCH] pkgsStatic.llhttp: fix building static archives The cmake options were changed in https://github.com/nodejs/llhttp/commit/b671ac107bd09b1415095aa3dbe34a2f9cb80ad3. This should unbreak `nixStatic`. --- pkgs/by-name/ll/llhttp/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ll/llhttp/package.nix b/pkgs/by-name/ll/llhttp/package.nix index 8c6b30e0230b..eab40942b392 100644 --- a/pkgs/by-name/ll/llhttp/package.nix +++ b/pkgs/by-name/ll/llhttp/package.nix @@ -31,8 +31,8 @@ stdenv.mkDerivation (finalAttrs: { ]; cmakeFlags = [ - (lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic)) - (lib.cmakeBool "BUILD_STATIC_LIBS" stdenv.hostPlatform.isStatic) + (lib.cmakeBool "LLHTTP_BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic)) + (lib.cmakeBool "LLHTTP_BUILD_STATIC_LIBS" stdenv.hostPlatform.isStatic) ]; passthru.updateScript = nix-update-script {