mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
litehtml: don't search for non-existant gumbo cmake config
This commit is contained in:
parent
64b624ce76
commit
ac70a84187
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user