nixpkgs/pkgs/by-name/si/siyuan/set-pandoc-path.patch
2024-05-05 03:17:56 +02:00

14 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
}