depot/third_party/nixpkgs/pkgs/by-name/si/siyuan/set-pandoc-path.patch

14 lines
263 B
Diff
Raw Normal View History

diff --git a/util/pandoc.go b/util/pandoc.go
index 5dbc58d..5f32644 100644
--- a/util/pandoc.go
+++ b/util/pandoc.go
@@ -97,6 +97,8 @@ var (
)
func InitPandoc() {
+ PandocBinPath = "@pandoc_path@"
+ return
if ContainerStd != Container {
return
}