Merge pull request #162118 from cyplo/cmark-gfm-fix-includes

cmark-gfm: fix includes
This commit is contained in:
Ryan Mulligan
2022-02-27 14:33:13 -08:00
committed by GitHub
@@ -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";