Commit 5ce7f244 authored by Sigmanificient's avatar Sigmanificient
Browse files

wla-dx: fix build with cmake4

parent 0b9ba6fc
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
}:

@@ -16,6 +17,14 @@ stdenv.mkDerivation rec {
    hash = "sha256-t+X1Y1NhAGi4NOPik2fuLZAR3A7NQMAkSgWvqAFaIik=";
  };

  patches = [
    # bymp minimum required cmake
    (fetchpatch {
      url = "https://github.com/vhelin/wla-dx/commit/6fa1f673f010e4fa4571c40929019cd7e67d1bbd.patch?full_index=1";
      hash = "sha256-SBjTzJxJ8XL9h2fMtjYu9RkaH8H/V+pFdiAobL2D98Y=";
    })
  ];

  installPhase = ''
    runHook preInstall