Unverified Commit 9d694330 authored by Francesco Gazzetta's avatar Francesco Gazzetta Committed by GitHub
Browse files

Merge pull request #223361 from wineee/litehtml

litehtml: don't search for non-existant gumbo cmake config
parents e608c90a ac70a841
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -16,6 +16,14 @@ stdenv.mkDerivation rec {
    hash = "sha256-9571d3k8RkzEpMWPuIejZ7njLmYstSwFUaSqT3sk6uQ=";
  };

  # Don't search for non-existant gumbo cmake config
  # This will mislead cmake that litehtml is not found
  # Affects build of pkgs that depend on litehtml
  postPatch = ''
    substituteInPlace cmake/litehtmlConfig.cmake \
      --replace "find_dependency(gumbo)" ""
  '';

  nativeBuildInputs = [
    cmake
  ];