Unverified Commit 97aaac0b authored by Andrew Zah's avatar Andrew Zah
Browse files

libclipboard: fix build issue with cmake 4

parent b43c43d6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -20,6 +20,11 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-553hNG8QUlt/Aff9EKYr6w279ELr+2MX7nh1SKIklhA=";
  };

  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail "cmake_minimum_required(VERSION 2.8)" "cmake_minimum_required(VERSION 3.10)"
  '';

  buildInputs = [
    libxcb
    libXau