about summary refs log tree commit diff
path: root/pkgs/applications/editors/rstudio/pandoc-nix-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/editors/rstudio/pandoc-nix-path.patch')
-rw-r--r--pkgs/applications/editors/rstudio/pandoc-nix-path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/applications/editors/rstudio/pandoc-nix-path.patch b/pkgs/applications/editors/rstudio/pandoc-nix-path.patch
new file mode 100644
index 0000000000000..a2b9bbd9f02bb
--- /dev/null
+++ b/pkgs/applications/editors/rstudio/pandoc-nix-path.patch
@@ -0,0 +1,11 @@
+--- a/src/cpp/session/include/session/SessionConstants.hpp
++++ b/src/cpp/session/include/session/SessionConstants.hpp
+@@ -140,7 +140,7 @@
+ #ifdef QUARTO_ENABLED
+ # define kDefaultPandocPath        "bin/quarto/bin"
+ #else
+-# define kDefaultPandocPath        "bin/pandoc"
++# define kDefaultPandocPath        "@pandoc@"
+ #endif
+ 
+ #define kDefaultQuartoPath         "bin/quarto"