Commit c6521a17 authored by Robert Schütz's avatar Robert Schütz
Browse files

dynamips: fix build with CMake 4

parent ed79f4bf
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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 = [