diff --git a/pkgs/by-name/kc/kcp/package.nix b/pkgs/by-name/kc/kcp/package.nix index b939e335718e..e2733a5c925b 100644 --- a/pkgs/by-name/kc/kcp/package.nix +++ b/pkgs/by-name/kc/kcp/package.nix @@ -18,6 +18,11 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 2.6)" "cmake_minimum_required(VERSION 3.10)" + ''; + meta = with lib; { description = "Fast and Reliable ARQ Protocol"; homepage = "https://github.com/skywind3000/kcp";