Unverified Commit 6ffc9dd8 authored by dish's avatar dish Committed by GitHub
Browse files

hypr: fix build with cmake4 (#454202)

parents a7d8f2ca 89934abf
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -67,6 +67,11 @@ stdenv.mkDerivation (finalAttrs: {
    runHook postInstall
  '';

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

  postFixup = ''
    wrapProgram $out/bin/Hypr --prefix PATH : ${lib.makeBinPath [ xmodmap ]}
  '';