cmark-gfm: fix includes

Fix includes to remove a reference to package-private file.
This commit is contained in:
Cyryl Płotnicki 2022-02-27 20:53:33 +00:00
parent db8bd03b6b
commit 169ba823d9

View file

@ -14,6 +14,12 @@ stdenv.mkDerivation rec {
# tests load the library dynamically which for unknown reason failed
doCheck = false;
# remove when https://github.com/github/cmark-gfm/pull/248 merged and released
postInstall = ''
substituteInPlace $out/include/cmark-gfm-core-extensions.h \
--replace '#include "config.h"' '#include <stdbool.h>'
'';
meta = with lib; {
description = "GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C";
homepage = "https://github.com/github/cmark-gfm";