cmark-gfm: fix includes
Fix includes to remove a reference to package-private file.
This commit is contained in:
parent
db8bd03b6b
commit
169ba823d9
1 changed files with 6 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue