dynamips: fix build with CMake 4 (#451121)

This commit is contained in:
Yohann Boniface
2025-10-12 13:07:19 +00:00
committed by GitHub
+10
View File
@@ -3,6 +3,7 @@
stdenv,
cmake,
fetchFromGitHub,
fetchpatch,
libelf,
libpcap,
nix-update-script,
@@ -19,6 +20,15 @@ stdenv.mkDerivation rec {
hash = "sha256-+h+WsZ/QrDd+dNrR6CJb2uMG+vbUvK8GTxFJZOxknL0=";
};
patches = [
# https://github.com/GNS3/dynamips/issues/305
(fetchpatch {
name = "cmake4-compat.patch";
url = "https://github.com/GNS3/dynamips/commit/fdbbb7d3887eaa5b024bbcbcc14215f420a7e989.patch";
hash = "sha256-CbiPGrIqn9KGnZEPUw7LiH8dkqzjfu4UxW1f7Fzbwro=";
})
];
nativeBuildInputs = [ cmake ];
buildInputs = [