nixpkgs/pkgs/applications/editors/rstudio/pandoc-nix-path.patch
Goetz 1f95c49331
RStudio: 1.4.1717 -> 2022.02.3+492 (#177021)
rstudio: 1.4.1717 -> 2022.02.3+492

The old version does not compile with gcc11. Also the used nixos-22.05
libraries (R interpreter) have changed their interfaces that have to be
also patched. Updating RStudio is useful.

* Remove Quarto patch

Follow review in
https://github.com/NixOS/nixpkgs/pull/177021#pullrequestreview-1007625773

* Fix not FHS paths

Create explicit nix path replacement of hard coded FHS paths for pandoc and nodejs.
2022-06-17 16:08:22 +02:00

12 lines
376 B
Diff

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