encfs: fix build with CMake 4

Deprecated upstream; won’t be fixed there.

Co-authored-by: K900 <me@0upti.me>
This commit is contained in:
Emily
2025-09-16 03:28:11 +01:00
parent 2979eed6de
commit 6c5697be90
+8
View File
@@ -10,6 +10,7 @@
fuse,
openssl,
tinyxml2,
gtest,
}:
stdenv.mkDerivation rec {
@@ -36,6 +37,7 @@ stdenv.mkDerivation rec {
fuse
openssl
tinyxml2
gtest
];
nativeBuildInputs = [
cmake
@@ -49,6 +51,12 @@ stdenv.mkDerivation rec {
"-DUSE_INTERNAL_TINYXML=OFF"
"-DBUILD_SHARED_LIBS=ON"
"-DINSTALL_LIBENCFS=ON"
# Fix the build with CMake 4.
#
# Upstream is deprecated, so it wont be fixed there. We should
# probably phase this package out.
"-DCMAKE_POLICY_VERSION_MINIMUM=3.10"
];
meta = with lib; {