From 604f19efd7a7cad5a6a7471d8d108ee75bc72105 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sun, 19 Oct 2025 01:46:11 +0200 Subject: [PATCH] plotinus: fix build with cmake4 --- pkgs/by-name/pl/plotinus/package.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/by-name/pl/plotinus/package.nix b/pkgs/by-name/pl/plotinus/package.nix index 4d66711a3220..1fdc8b31177f 100644 --- a/pkgs/by-name/pl/plotinus/package.nix +++ b/pkgs/by-name/pl/plotinus/package.nix @@ -24,6 +24,14 @@ stdenv.mkDerivation rec { sha256 = "19k6f6ivg4ab57m62g6fkg85q9sv049snmzq1fyqnqijggwshxfz"; }; + postPatch = '' + # CMake 2.8 is deprecated and is no longer supported by CMake > 4 + # https://github.com/NixOS/nixpkgs/issues/445447 + substituteInPlace CMakeLists.txt \ + --replace-fail "cmake_minimum_required(VERSION 2.8)" \ + "cmake_minimum_required(VERSION 3.10)" + ''; + nativeBuildInputs = [ pkg-config wrapGAppsHook3