depot/third_party/nixpkgs/pkgs/by-name/si/siyuan/set-pandoc-path.patch
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

13 lines
263 B
Diff

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
}