diff --git a/pkgs/by-name/te/teensy-cmake-macros/package.nix b/pkgs/by-name/te/teensy-cmake-macros/package.nix index 45098cb5ffb5..0461db32c00f 100644 --- a/pkgs/by-name/te/teensy-cmake-macros/package.nix +++ b/pkgs/by-name/te/teensy-cmake-macros/package.nix @@ -29,6 +29,11 @@ stdenv.mkDerivation (finalAttrs: { }; }; + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace-fail "cmake_minimum_required(VERSION 3.0)" "cmake_minimum_required(VERSION 3.10)" + ''; + meta = with lib; { description = "CMake macros for building teensy projects"; platforms = platforms.all;