From e0445679b4407d82f3f5aca108221e960c33bb19 Mon Sep 17 00:00:00 2001 From: Rafael Ieda Date: Fri, 24 Oct 2025 01:06:01 -0300 Subject: [PATCH] rpiplay: fix build with cmake4 --- pkgs/by-name/rp/rpiplay/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/rp/rpiplay/package.nix b/pkgs/by-name/rp/rpiplay/package.nix index d12cda394593..9080106042e9 100644 --- a/pkgs/by-name/rp/rpiplay/package.nix +++ b/pkgs/by-name/rp/rpiplay/package.nix @@ -52,6 +52,11 @@ stdenv.mkDerivation { gst_all_1.gst-plugins-ugly ]; + postPatch = '' + substituteInPlace {lib/playfair/,lib/llhttp/,lib/,renderers/,./}CMakeLists.txt \ + --replace-fail "cmake_minimum_required(VERSION 3.4.1)" "cmake_minimum_required(VERSION 3.10)" + ''; + meta = with lib; { broken = stdenv.hostPlatform.isDarwin; homepage = "https://github.com/FD-/RPiPlay";