depot/pkgs/applications/editors/rstudio/pandoc-nix-path.patch
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

18 lines
602 B
Diff

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