diff options
Diffstat (limited to 'pkgs/by-name/si/siyuan/set-pandoc-path.patch')
-rw-r--r-- | pkgs/by-name/si/siyuan/set-pandoc-path.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/by-name/si/siyuan/set-pandoc-path.patch b/pkgs/by-name/si/siyuan/set-pandoc-path.patch new file mode 100644 index 0000000000000..e3b75b6988d9d --- /dev/null +++ b/pkgs/by-name/si/siyuan/set-pandoc-path.patch @@ -0,0 +1,13 @@ +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 + } |