From 1206e28b69652e18a67fe616bde419463ccae00f Mon Sep 17 00:00:00 2001 From: Rafael Ieda Date: Fri, 31 Oct 2025 06:02:02 -0300 Subject: [PATCH] plistcpp: fix build with cmake4 --- pkgs/by-name/pl/plistcpp/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/pl/plistcpp/package.nix b/pkgs/by-name/pl/plistcpp/package.nix index 4b1aea8d1218..73c4179960b3 100644 --- a/pkgs/by-name/pl/plistcpp/package.nix +++ b/pkgs/by-name/pl/plistcpp/package.nix @@ -21,6 +21,9 @@ stdenv.mkDerivation { postPatch = '' sed -i "1i #include " src/Plist.cpp + + substituteInPlace CMakeLists.txt \ + --replace-fail "cmake_minimum_required (VERSION 2.6)" "cmake_minimum_required(VERSION 3.10)" ''; nativeBuildInputs = [