diff --git a/pkgs/by-name/fa/fancontrol-gui/package.nix b/pkgs/by-name/fa/fancontrol-gui/package.nix index 300a29826289..cdf776561946 100644 --- a/pkgs/by-name/fa/fancontrol-gui/package.nix +++ b/pkgs/by-name/fa/fancontrol-gui/package.nix @@ -42,6 +42,11 @@ stdenv.mkDerivation rec { ./version.patch ]; + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace-fail "cmake_minimum_required(VERSION 3.0.2)" "cmake_minimum_required(VERSION 3.10)" + ''; + passthru = { tests.version = testers.testVersion { package = fancontrol-gui;