nanomsg: fix build with CMake 4.0

This commit is contained in:
Florian Klink
2025-10-06 09:57:53 +03:00
parent 8913c168d1
commit 7f1d7ecd4d
+6 -1
View File
@@ -21,7 +21,12 @@ stdenv.mkDerivation rec {
# Add pkgconfig fix from https://github.com/nanomsg/nanomsg/pull/1085
(fetchpatch {
url = "https://github.com/nanomsg/nanomsg/commit/e3323f19579529d272cb1d55bd6b653c4f34c064.patch";
sha256 = "URz7TAqqpKxqjgvQqNX4WNSShwiEzAvO2h0hCZ2NhVY=";
hash = "sha256-URz7TAqqpKxqjgvQqNX4WNSShwiEzAvO2h0hCZ2NhVY=";
})
# Fix compatibility with Cmake 4.0 and up
(fetchpatch {
url = "https://github.com/nanomsg/nanomsg/commit/eb24489839de3e2419360c67cc38842f223836d9.patch";
hash = "sha256-yaQWWZLW4YbiI41oV0nj7zap3lEs0Gwwb9kTD6o3La8=";
})
];