From 58db6be1d8d74ca0b181ae90dd277cde9b8736e2 Mon Sep 17 00:00:00 2001 From: Rafael Ieda Date: Fri, 24 Oct 2025 00:59:17 -0300 Subject: [PATCH] romdirfs: fix build with cmake4 --- pkgs/by-name/ro/romdirfs/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/ro/romdirfs/package.nix b/pkgs/by-name/ro/romdirfs/package.nix index 00b6543cc1ac..11ef69a039e6 100644 --- a/pkgs/by-name/ro/romdirfs/package.nix +++ b/pkgs/by-name/ro/romdirfs/package.nix @@ -24,6 +24,11 @@ gccStdenv.mkDerivation rec { ]; buildInputs = [ fuse ]; + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 2.6)" "cmake_minimum_required(VERSION 3.10)" + ''; + meta = with lib; { description = "FUSE for access Playstation 2 IOP IOPRP images and BIOS dumps"; homepage = "https://github.com/mlafeldt/romdirfs";