depot/third_party/nixpkgs/pkgs/applications/editors/rstudio/pandoc-nix-path.patch

19 lines
602 B
Diff
Raw Normal View History

--- a/src/cpp/session/include/session/SessionConstants.hpp
+++ b/src/cpp/session/include/session/SessionConstants.hpp
@@ -142,13 +142,13 @@
#define kSessionTmpDir "rstudio-rsession"
#ifdef QUARTO_ENABLED
-# define kDefaultPandocPath "bin/quarto/bin/tools"
+# define kDefaultPandocPath "@pandoc@"
#else
# define kDefaultPandocPath "bin/pandoc"
#endif
#define kDefaultNodePath "bin/node"
-#define kDefaultQuartoPath "bin/quarto"
+#define kDefaultQuartoPath "@quarto@"
#define kDefaultRsclangPath "bin/rsclang"
#ifdef _WIN32