Unverified Commit 264fddee authored by misuzu's avatar misuzu Committed by GitHub
Browse files

xss-lock: Patch cmake version for v4 compatibility (#449882)

parents eed6c1aa 336ad471
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -37,6 +37,13 @@ stdenv.mkDerivation {
    xcbutil
  ];

  # See https://github.com/NixOS/nixpkgs/issues/445447
  postPatch = ''
    substituteInPlace CMakeLists.txt --replace-fail \
      "cmake_minimum_required(VERSION 2.8)" \
      "cmake_minimum_required(VERSION 3.10)"
  '';

  passthru.tests = { inherit (nixosTests) xss-lock; };

  meta = with lib; {