Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions pkgs/by-name/ap/apfs-fuse/cmake-v4.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
From 523ef46031f0d805a651d95e3b193f73acc824ef Mon Sep 17 00:00:00 2001
From: Skoh <101289702+SkohTV@users.noreply.github.com>
Date: Fri, 10 Oct 2025 13:53:13 -0400
Subject: [PATCH] Increase cmake_minimum_required: 3.0 -> 3.10

---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 03acf26..84370f0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.0)
+cmake_minimum_required(VERSION 3.0...3.10)
# set(CMAKE_C_COMPILER "clang")
# set(CMAKE_CXX_COMPILER "clang++")
6 changes: 6 additions & 0 deletions pkgs/by-name/ap/apfs-fuse/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ stdenv.mkDerivation {
fetchSubmodules = true;
};

patches = [
# fix for CMake v4
# https://github.com/sgan81/apfs-fuse/pull/211
./cmake-v4.patch
];

postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
substituteInPlace CMakeLists.txt \
--replace "/usr/local/lib/libosxfuse.dylib" "fuse"
Expand Down
Loading