From bb12fcdd655d4325e5acf6367a4c3c833a2c35c5 Mon Sep 17 00:00:00 2001 From: Rafael Ieda Date: Mon, 20 Oct 2025 16:49:18 -0300 Subject: [PATCH] sony-headphones-client: fix build with cmake4 --- pkgs/by-name/so/sony-headphones-client/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/so/sony-headphones-client/package.nix b/pkgs/by-name/so/sony-headphones-client/package.nix index c17507fb6faf..96f02252e08e 100644 --- a/pkgs/by-name/so/sony-headphones-client/package.nix +++ b/pkgs/by-name/so/sony-headphones-client/package.nix @@ -56,6 +56,9 @@ stdenv.mkDerivation rec { postPatch = '' substituteInPlace Constants.h \ --replace "UNKNOWN = -1" "// UNKNOWN removed since it doesn't fit in char" + + substituteInPlace CMakeLists.txt \ + --replace-fail "cmake_minimum_required(VERSION 3.1 FATAL_ERROR)" "cmake_minimum_required(VERSION 3.10)" ''; installPhase = ''