From bf2502796c7dd08df0c9ddd67591d421e9592ed3 Mon Sep 17 00:00:00 2001 From: Emily Date: Tue, 16 Sep 2025 04:40:25 +0100 Subject: [PATCH] =?UTF-8?q?json=5Fc:=20don=E2=80=99t=20build=20apps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We never installed these anyway, and they didn’t bump the CMake version in them along with the main file. Fixes the build with CMake 4. --- pkgs/by-name/js/json_c/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/js/json_c/package.nix b/pkgs/by-name/js/json_c/package.nix index b224da20070f..04022602426d 100644 --- a/pkgs/by-name/js/json_c/package.nix +++ b/pkgs/by-name/js/json_c/package.nix @@ -23,6 +23,10 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake ]; + cmakeFlags = [ + (lib.cmakeBool "BUILD_APPS" false) + ]; + meta = with lib; { description = "JSON implementation in C"; longDescription = ''