Commit b9fb68b6 authored by Bjørn Forsman's avatar Bjørn Forsman
Browse files

taskwarrior2: fix build with cmake>=4

parent 595dc973
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -35,6 +35,11 @@ stdenv.mkDerivation rec {
    installShellFiles
  ];

  cmakeFlags = [
    # Fix build with cmake>=4
    "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
  ];

  doCheck = true;
  preCheck = ''
    patchShebangs --build test