diff --git a/pkgs/by-name/vo/volk_2/package.nix b/pkgs/by-name/vo/volk_2/package.nix index 4ce83db262f2..bc8f9c803f63 100644 --- a/pkgs/by-name/vo/volk_2/package.nix +++ b/pkgs/by-name/vo/volk_2/package.nix @@ -58,6 +58,11 @@ stdenv.mkDerivation (finalAttrs: { doCheck = true; + postPatch = '' + substituteInPlace cpu_features/CMakeLists.txt \ + --replace-fail "cmake_minimum_required(VERSION 3.0)" "cmake_minimum_required(VERSION 3.10)" + ''; + meta = { homepage = "http://libvolk.org/"; description = "Vector Optimized Library of Kernels (version 2.5.0 - for GR 3.8)";