diff --git a/pkgs/by-name/en/ensemble-chorus/package.nix b/pkgs/by-name/en/ensemble-chorus/package.nix index 0bc9963b7bfd..ba5f43d8b69a 100644 --- a/pkgs/by-name/en/ensemble-chorus/package.nix +++ b/pkgs/by-name/en/ensemble-chorus/package.nix @@ -47,6 +47,18 @@ stdenv.mkDerivation { libjack2 ]; + postPatch = '' + substituteInPlace CMakeLists.txt --replace-fail \ + 'cmake_minimum_required(VERSION "3.3")' \ + 'cmake_minimum_required(VERSION 4.0)' + substituteInPlace thirdparty/gsl-lite/CMakeLists.txt --replace-fail \ + 'cmake_minimum_required( VERSION 3.0 FATAL_ERROR )' \ + 'cmake_minimum_required(VERSION 4.0)' + substituteInPlace thirdparty/jsl/CMakeLists.txt --replace-fail \ + 'cmake_minimum_required(VERSION 3.3)' \ + 'cmake_minimum_required(VERSION 4.0)' + ''; + meta = with lib; { homepage = "https://github.com/jpcima/ensemble-chorus"; description = "Digital model of electronic string ensemble chorus";