darling-dmg: fix compilation (#405507)

This commit is contained in:
Atemu
2025-05-17 12:57:56 +02:00
committed by GitHub
+10
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch2,
cmake,
fuse,
zlib,
@@ -25,6 +26,15 @@ stdenv.mkDerivation {
hash = "sha256-QM75GuFHl2gRlRw1BmTexUE1d9YNnhG0qmTqmE9kMX4=";
};
patches = [
# Fix compilation
(fetchpatch2 {
name = "cmake-cxx-standard-17.patch";
url = "https://github.com/darlinghq/darling-dmg/pull/105/commits/b7c620f76a5f76748b3d14dd2a58e77f8b6ed0c0.patch";
hash = "sha256-i1lisEiwYm4IxgKmBYnjscvW6ObT7XGLVbjW2i5yXV4=";
})
];
nativeBuildInputs = [ cmake ];
buildInputs = [
fuse